summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GTalkExt/menu.cpp')
-rw-r--r--protocols/GTalkExt/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/GTalkExt/menu.cpp b/protocols/GTalkExt/menu.cpp
index fc1a2f5503..26c81a165f 100644
--- a/protocols/GTalkExt/menu.cpp
+++ b/protocols/GTalkExt/menu.cpp
@@ -67,7 +67,7 @@ BOOL InitMenus(BOOL init)
cmi.hIcon = g_hPopupIcon;
cmi.ptszName = _T(OPEN_MAILBOX_ITEM_CAPTION);
cmi.pszService = MS_GTALKEXT_OPENMAILBOX;
- hOpenMailboxMenuItem = (HANDLE)CallService(MS_CLIST_ADDCONTACTMENUITEM, 0, (LPARAM)&cmi);
+ hOpenMailboxMenuItem = Menu_AddContactMenuItem(&cmi);
if (!hOpenMailboxMenuItem) {
InitMenus(FALSE);