summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp')
-rw-r--r--plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp b/plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp
index d500d29286..8b1bf6af9e 100644
--- a/plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp
+++ b/plugins/Clist_modern/src/CLUIFrames/framesmenu.cpp
@@ -45,12 +45,6 @@ static INT_PTR AddContextFrameMenuItem(WPARAM wParam, LPARAM lParam)
return CallService(MO_ADDNEWMENUITEM, (WPARAM)hFrameMenuObject, (LPARAM)&tmi);
}
-static INT_PTR RemoveContextFrameMenuItem(WPARAM wParam, LPARAM lParam)
-{
- CallService(MO_REMOVEMENUITEM, wParam, 0);
- return 0;
-}
-
//called with:
//wparam - ownerdata
//lparam - lparam from winproc
@@ -110,7 +104,6 @@ int InitFramesMenus(void)
CreateServiceFunction("FrameMenuCheckService", FrameMenuCheckService);
CreateServiceFunction("FrameMenuFreeService", FreeOwnerDataFrameMenu);
- CreateServiceFunction(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, RemoveContextFrameMenuItem);
CreateServiceFunction("CList/AddContextFrameMenuItem", AddContextFrameMenuItem);
CreateServiceFunction(MS_CLIST_MENUBUILDFRAMECONTEXT, BuildContextFrameMenu);
CreateServiceFunction(MS_CLIST_FRAMEMENUNOTIFY, ContextFrameMenuNotify);