From 69f5bbaea93ae12a333d763327f98b26dae3792d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Sep 2014 11:48:33 +0000 Subject: MS_CLIST_REMOVETRAYMENUITEM - never used at all. RIP git-svn-id: http://svn.miranda-ng.org/main/trunk@10494 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clisttray.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'plugins/Clist_modern') diff --git a/plugins/Clist_modern/src/modern_clisttray.cpp b/plugins/Clist_modern/src/modern_clisttray.cpp index 38b4ab8fbf..6a2d2cc3e3 100644 --- a/plugins/Clist_modern/src/modern_clisttray.cpp +++ b/plugins/Clist_modern/src/modern_clisttray.cpp @@ -394,17 +394,6 @@ typedef struct{ } TrayMenuExecParam, *lpTrayMenuExecParam; -/* -wparam = handle to the menu item returned by MS_CLIST_ADDCONTACTMENUITEM -return 0 on success. -*/ - -static INT_PTR RemoveTrayMenuItem(WPARAM wParam, LPARAM lParam) -{ - CallService(MO_REMOVEMENUITEM, wParam, 0); - return 0; -} - static INT_PTR BuildTrayMenu(WPARAM wParam, LPARAM lParam) { HMENU hMenu = CreatePopupMenu(); @@ -505,7 +494,6 @@ void InitTrayMenus(void) CreateServiceFunction("CLISTMENUSTRAY/TrayMenuonAddService", TrayMenuonAddService); CreateServiceFunction("CList/AddTrayMenuItem", AddTrayMenuItem); - CreateServiceFunction(MS_CLIST_REMOVETRAYMENUITEM, RemoveTrayMenuItem); CreateServiceFunction(MS_CLIST_MENUBUILDTRAY, BuildTrayMenu); // Tray menu -- cgit v1.2.3