summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/delphi/m_genmenu.inc8
-rw-r--r--include/m_genmenu.h6
-rw-r--r--plugins/Clist_modern/src/modern_clisttray.cpp12
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