summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_menu.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_menu.cpp12
1 files changed, 6 insertions, 6 deletions
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)