From adca17ccaecda72c8dd1234f1a7b91a0d5aff564 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 Jun 2015 12:23:28 +0000 Subject: another portion of dead genmenu services git-svn-id: http://svn.miranda-ng.org/main/trunk@14377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ListeningTo/src/listeningto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ListeningTo') 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::iterator it = proto_items.begin(); it != proto_items.end(); ++it) { -- cgit v1.2.3