diff options
author | George Hazan <george.hazan@gmail.com> | 2014-09-16 13:51:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-09-16 13:51:27 +0000 |
commit | 8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (patch) | |
tree | 0f52f4e8ad9d91059ff33c8cd8fb0a824a456106 /src/modules | |
parent | 666ca215b155788ed81079abcf6c283df0549a45 (diff) |
useless service MS_CLIST_REMOVECONTACTMENUITEM deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@10479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/clist/clistmenus.cpp | 7 | ||||
-rw-r--r-- | src/modules/clist/movetogroup.cpp | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp index ac0c408287..6e92577cc7 100644 --- a/src/modules/clist/clistmenus.cpp +++ b/src/modules/clist/clistmenus.cpp @@ -274,12 +274,6 @@ INT_PTR FreeOwnerDataMainMenu(WPARAM, LPARAM lParam) /////////////////////////////////////////////////////////////////////////////////////////
// CONTACT MENU
-static INT_PTR RemoveContactMenuItem(WPARAM wParam, LPARAM)
-{
- CallService(MO_REMOVEMENUITEM, wParam, 0);
- return 0;
-}
-
static INT_PTR AddContactMenuItem(WPARAM, LPARAM lParam)
{
TMO_MenuItem tmi;
@@ -1287,7 +1281,6 @@ void InitCustomMenus(void) CreateServiceFunction("CList/AddContactMenuItem", AddContactMenuItem);
CreateServiceFunction(MS_CLIST_MENUBUILDCONTACT, BuildContactMenu);
- CreateServiceFunction(MS_CLIST_REMOVECONTACTMENUITEM, RemoveContactMenuItem);
CreateServiceFunction(MS_CLIST_SHOWHIDEMENUITEM, ShowHideMenuItem);
CreateServiceFunction(MS_CLIST_MODIFYMENUITEM, ModifyCustomMenuItem);
diff --git a/src/modules/clist/movetogroup.cpp b/src/modules/clist/movetogroup.cpp index 2680c7e218..48e14cfb20 100644 --- a/src/modules/clist/movetogroup.cpp +++ b/src/modules/clist/movetogroup.cpp @@ -98,7 +98,7 @@ static int OnContactMenuBuild(WPARAM wParam, LPARAM) }
for (i=0; i < lphGroupsItems.getCount(); i++)
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)lphGroupsItems[i], 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)lphGroupsItems[i], 0);
lphGroupsItems.destroy();
ptrT szContactGroup(db_get_tsa(wParam, "CList", "Group"));
|