From cf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Sep 2014 14:02:41 +0000 Subject: MS_CLIST_REMOVEMAINMENUITEM also removed git-svn-id: http://svn.miranda-ng.org/main/trunk@10480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clistmenus.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp index 6e92577cc7..0a522dc9d2 100644 --- a/src/modules/clist/clistmenus.cpp +++ b/src/modules/clist/clistmenus.cpp @@ -181,17 +181,6 @@ int fnGetAverageMode(int *pNetProtoCount) ///////////////////////////////////////////////////////////////////////////////////////// // MAIN MENU -/* -wparam=handle to the menu item returned by MS_CLIST_ADDCONTACTMENUITEM -return 0 on success. -*/ - -static INT_PTR RemoveMainMenuItem(WPARAM wParam, LPARAM) -{ - CallService(MO_REMOVEMENUITEM, wParam, 0); - return 0; -} - static INT_PTR BuildMainMenu(WPARAM, LPARAM) { ListParam param = { 0 }; @@ -1276,7 +1265,6 @@ void InitCustomMenus(void) CreateServiceFunction("CList/AddMainMenuItem", AddMainMenuItem); CreateServiceFunction("CList/AddStatusMenuItem", AddStatusMenuItem); CreateServiceFunction(MS_CLIST_MENUGETMAIN, MenuGetMain); - CreateServiceFunction(MS_CLIST_REMOVEMAINMENUITEM, RemoveMainMenuItem); CreateServiceFunction(MS_CLIST_MENUBUILDMAIN, BuildMainMenu); CreateServiceFunction("CList/AddContactMenuItem", AddContactMenuItem); -- cgit v1.2.3