summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 13:51:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 13:51:27 +0000
commit8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (patch)
tree0f52f4e8ad9d91059ff33c8cd8fb0a824a456106 /plugins
parent666ca215b155788ed81079abcf6c283df0549a45 (diff)
useless service MS_CLIST_REMOVECONTACTMENUITEM deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@10479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MenuItemEx/src/main.cpp2
-rw-r--r--plugins/Quotes/src/Forex.cpp2
-rw-r--r--plugins/SmileyAdd/src/services.cpp4
-rw-r--r--plugins/UserInfoEx/src/svc_email.cpp2
4 files changed, 5 insertions, 5 deletions
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<WPARAM>(h),0);
+ return CallService(MO_REMOVEMENUITEM, reinterpret_cast<WPARAM>(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;
}
}