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/Yahoo/src/services.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Yahoo/src/services.cpp') diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp index 658824f400..2ffd9f32d8 100644 --- a/protocols/Yahoo/src/services.cpp +++ b/protocols/Yahoo/src/services.cpp @@ -383,7 +383,7 @@ void CYahooProto::MenuMainInit(void) } else { if (mainMenuRoot) - CallService(MO_REMOVEMENUITEM, (WPARAM)mainMenuRoot, 0); + Menu_RemoveItem(mainMenuRoot); mainMenuRoot = NULL; } @@ -477,9 +477,9 @@ void CYahooProto::MenuContactInit(void) void CYahooProto::MenuUninit(void) { if (mainMenuRoot) - CallService(MO_REMOVEMENUITEM, (WPARAM)mainMenuRoot, 0); + Menu_RemoveItem(mainMenuRoot); - CallService(MO_REMOVEMENUITEM, (WPARAM)hShowProfileMenuItem, 0); + Menu_RemoveItem(hShowProfileMenuItem); } int __cdecl CYahooProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM) -- cgit v1.2.3