From 8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Sep 2014 13:51:27 +0000 Subject: useless service MS_CLIST_REMOVECONTACTMENUITEM deleted git-svn-id: http://svn.miranda-ng.org/main/trunk@10479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 2 +- plugins/Quotes/src/Forex.cpp | 2 +- plugins/SmileyAdd/src/services.cpp | 4 ++-- plugins/UserInfoEx/src/svc_email.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 648037ea64..4382ca23ea 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -893,7 +893,7 @@ int EnumProtoSubmenu(WPARAM wparam, LPARAM lparam) { if (hProtoItem[i]) { - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hProtoItem[i], 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)hProtoItem[i], 0); hProtoItem[i] = 0; } } diff --git a/plugins/Quotes/src/Forex.cpp b/plugins/Quotes/src/Forex.cpp index e03f8fccd9..888b8dc3fa 100644 --- a/plugins/Quotes/src/Forex.cpp +++ b/plugins/Quotes/src/Forex.cpp @@ -444,7 +444,7 @@ namespace inline int Quotes_RemoveMenuItem(HGENMENU h) { - return CallService(MS_CLIST_REMOVECONTACTMENUITEM,reinterpret_cast(h),0); + return CallService(MO_REMOVEMENUITEM, reinterpret_cast(h), 0); } } diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 0a591ae1ab..904da99971 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -254,7 +254,7 @@ INT_PTR CustomCatMenu(WPARAM hContact, LPARAM lParam) } for (int i=0; i < menuHandleArray.getCount(); i++) - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)menuHandleArray[i], 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)menuHandleArray[i], 0); menuHandleArray.destroy(); return TRUE; @@ -277,7 +277,7 @@ int RebuildContactMenu(WPARAM wParam, LPARAM) Menu_ShowItem(hContactMenuItem, haveMenu); for (int i=0; i < menuHandleArray.getCount(); i++) - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)menuHandleArray[i], 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)menuHandleArray[i], 0); menuHandleArray.destroy(); if (haveMenu) { diff --git a/plugins/UserInfoEx/src/svc_email.cpp b/plugins/UserInfoEx/src/svc_email.cpp index 1b6430df86..dec21cfcf4 100644 --- a/plugins/UserInfoEx/src/svc_email.cpp +++ b/plugins/UserInfoEx/src/svc_email.cpp @@ -196,7 +196,7 @@ void SvcEMailRebuildMenu() UnhookEvent(ME_CLIST_PREBUILDCONTACTMENU), hPrebuildMenuHook = NULL; if (ghMenuItem) { - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)ghMenuItem, NULL); + CallService(MO_REMOVEMENUITEM, (WPARAM)ghMenuItem, NULL); ghMenuItem = NULL; } } -- cgit v1.2.3