summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo/src/listeningto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-25 12:23:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-25 12:23:28 +0000
commitadca17ccaecda72c8dd1234f1a7b91a0d5aff564 (patch)
treef0eaacc2570951ed615afd310f7f7ab144b612a9 /plugins/ListeningTo/src/listeningto.cpp
parent12d7476bd6e91fd3020a83b9249b63bafe68cd1d (diff)
another portion of dead genmenu services
git-svn-id: http://svn.miranda-ng.org/main/trunk@14377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo/src/listeningto.cpp')
-rw-r--r--plugins/ListeningTo/src/listeningto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp
index c45188b971..9b62cb0633 100644
--- a/plugins/ListeningTo/src/listeningto.cpp
+++ b/plugins/ListeningTo/src/listeningto.cpp
@@ -185,7 +185,7 @@ void RebuildMenu()
ProtocolInfo *info = &proto_items[i];
if (info->hMenu != NULL)
- CallService(MO_REMOVEMENUITEM, (WPARAM) info->hMenu, 0);
+ Menu_RemoveItem(info->hMenu);
TCHAR text[512];
mir_sntprintf(text, TranslateT("Send to %s"), info->account);
@@ -245,7 +245,7 @@ int AccListChanged(WPARAM wParam, LPARAM lParam)
}
else if (wParam == PRAC_REMOVED || (wParam == PRAC_CHECKED && !proto->bIsEnabled))
{
- CallService(MO_REMOVEMENUITEM, (WPARAM) info->hMenu, 0);
+ Menu_RemoveItem(info->hMenu);
for(std::vector<ProtocolInfo>::iterator it = proto_items.begin(); it != proto_items.end(); ++it)
{