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 --- plugins/SmileyAdd/src/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SmileyAdd/src/services.cpp') diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 16e483c17b..5dd9c3bf07 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -262,7 +262,7 @@ INT_PTR CustomCatMenu(WPARAM hContact, LPARAM lParam) } for (int i=0; i < menuHandleArray.getCount(); i++) - CallService(MO_REMOVEMENUITEM, (WPARAM)menuHandleArray[i], 0); + Menu_RemoveItem((HGENMENU)menuHandleArray[i]); menuHandleArray.destroy(); return TRUE; @@ -285,7 +285,7 @@ int RebuildContactMenu(WPARAM wParam, LPARAM) Menu_ShowItem(hContactMenuItem, haveMenu); for (int i=0; i < menuHandleArray.getCount(); i++) - CallService(MO_REMOVEMENUITEM, (WPARAM)menuHandleArray[i], 0); + Menu_RemoveItem((HGENMENU)menuHandleArray[i]); menuHandleArray.destroy(); if (haveMenu) { -- cgit v1.2.3