diff options
author | George Hazan <george.hazan@gmail.com> | 2014-09-17 11:48:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-09-17 11:48:33 +0000 |
commit | 69f5bbaea93ae12a333d763327f98b26dae3792d (patch) | |
tree | a3a355709283b1a7efddcd7fec5390f9e6167895 | |
parent | ceab1f0178932fd308df023b7fafdea231593949 (diff) |
MS_CLIST_REMOVETRAYMENUITEM - never used at all. RIP
git-svn-id: http://svn.miranda-ng.org/main/trunk@10494 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | include/delphi/m_genmenu.inc | 8 | ||||
-rw-r--r-- | include/m_genmenu.h | 6 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_clisttray.cpp | 12 |
3 files changed, 0 insertions, 26 deletions
diff --git a/include/delphi/m_genmenu.inc b/include/delphi/m_genmenu.inc index 8712927ab3..60e47b4241 100644 --- a/include/delphi/m_genmenu.inc +++ b/include/delphi/m_genmenu.inc @@ -160,14 +160,6 @@ const // TRAY MENU
{
- remove a item from tray menu
- wParam=hMenuItem returned by MS_CLIST_ADDTRAYMENUITEM
- lParam=0
- returns 0 on success, nonzero on failure
-}
- MS_CLIST_REMOVETRAYMENUITEM:PAnsiChar = 'CList/RemoveTrayMenuItem';
-
-{
builds the tray menu
wParam=lParam=0
returns a HMENU identifying the menu.
diff --git a/include/m_genmenu.h b/include/m_genmenu.h index 8203811b53..1b126fca59 100644 --- a/include/m_genmenu.h +++ b/include/m_genmenu.h @@ -154,13 +154,7 @@ __forceinline HGENMENU Menu_AddGroupMenuItem(lpGroupMenuParam gmp, CLISTMENUITEM // Group MENU
-
// TRAY MENU
-//remove a item from tray menu
-//wParam=hMenuItem returned by MS_CLIST_ADDTRAYMENUITEM
-//lParam=0
-//returns 0 on success, nonzero on failure
-#define MS_CLIST_REMOVETRAYMENUITEM "CList/RemoveTrayMenuItem"
//builds the tray menu
//wParam=lParam=0
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
|