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/IcqOscarJ/src/icq_menu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/IcqOscarJ/src/icq_menu.cpp') diff --git a/protocols/IcqOscarJ/src/icq_menu.cpp b/protocols/IcqOscarJ/src/icq_menu.cpp index 94a0a3ca57..a075dc3cea 100644 --- a/protocols/IcqOscarJ/src/icq_menu.cpp +++ b/protocols/IcqOscarJ/src/icq_menu.cpp @@ -164,12 +164,12 @@ void g_MenuInit(void) void g_MenuUninit(void) { - CallService(MO_REMOVEMENUITEM, (WPARAM)g_hContactMenuItems[ICMI_AUTH_REQUEST], 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)g_hContactMenuItems[ICMI_AUTH_GRANT], 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)g_hContactMenuItems[ICMI_AUTH_REVOKE], 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)g_hContactMenuItems[ICMI_ADD_TO_SERVLIST], 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)g_hContactMenuItems[ICMI_XSTATUS_DETAILS], 0); - CallService(MO_REMOVEMENUITEM, (WPARAM)g_hContactMenuItems[ICMI_OPEN_PROFILE], 0); + Menu_RemoveItem(g_hContactMenuItems[ICMI_AUTH_REQUEST]); + Menu_RemoveItem(g_hContactMenuItems[ICMI_AUTH_GRANT]); + Menu_RemoveItem(g_hContactMenuItems[ICMI_AUTH_REVOKE]); + Menu_RemoveItem(g_hContactMenuItems[ICMI_ADD_TO_SERVLIST]); + Menu_RemoveItem(g_hContactMenuItems[ICMI_XSTATUS_DETAILS]); + Menu_RemoveItem(g_hContactMenuItems[ICMI_OPEN_PROFILE]); } INT_PTR CIcqProto::OpenWebProfile(WPARAM hContact, LPARAM) -- cgit v1.2.3