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 --- protocols/MSN/src/msn_menu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/MSN/src') diff --git a/protocols/MSN/src/msn_menu.cpp b/protocols/MSN/src/msn_menu.cpp index 52c56bebb0..33dd616058 100644 --- a/protocols/MSN/src/msn_menu.cpp +++ b/protocols/MSN/src/msn_menu.cpp @@ -335,7 +335,7 @@ void CMsnProto::MsnInitMainMenu(void) void CMsnProto::MsnRemoveMainMenus(void) { if (mainMenuRoot) - CallService(MO_REMOVEMENUITEM, (WPARAM)mainMenuRoot, 0); + Menu_RemoveItem(mainMenuRoot); } void CMsnProto::MSN_EnableMenuItems(bool bEnable) @@ -444,14 +444,14 @@ void MSN_InitContactMenu(void) void MSN_RemoveContactMenus(void) { - CallService(MO_REMOVEMENUITEM, (WPARAM)hBlockMenuItem, 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)hLiveSpaceMenuItem, 0); + Menu_RemoveItem(hBlockMenuItem); + Menu_RemoveItem(hLiveSpaceMenuItem); #ifdef OBSOLETE - CallService(MO_REMOVEMENUITEM, (WPARAM)hNetmeetingMenuItem, 0); + Menu_RemoveItem(hNetmeetingMenuItem); DestroyServiceFunction(hNetMeeting); #endif - CallService(MO_REMOVEMENUITEM, (WPARAM)hChatInviteMenuItem, 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)hOpenInboxMenuItem, 0); + Menu_RemoveItem(hChatInviteMenuItem); + Menu_RemoveItem(hOpenInboxMenuItem); DestroyServiceFunction(hBlockCom); DestroyServiceFunction(hSendHotMail); -- cgit v1.2.3