From e58823d961a630eb62e60d2ccb443761ba5f1704 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Jun 2012 15:51:34 +0000 Subject: - all MS_CLIST_ADD*ITEM services replaced with Menu_Add*Item stubs. - massive cleanup of the menu-related code git-svn-id: http://svn.miranda-ng.org/main/trunk@410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/SmileyAdd/main.cpp') diff --git a/plugins/SmileyAdd/main.cpp b/plugins/SmileyAdd/main.cpp index 2515c6c076..e0965d8655 100644 --- a/plugins/SmileyAdd/main.cpp +++ b/plugins/SmileyAdd/main.cpp @@ -30,7 +30,7 @@ along with this program. If not, see . //globals HINSTANCE g_hInst; HANDLE hEvent1, hContactMenuItem; -extern LIST menuHandleArray; +extern LIST menuHandleArray; char* metaProtoName; @@ -105,7 +105,7 @@ static int ModulesLoaded(WPARAM, LPARAM) mi.icolibItem = hSkinIcon; mi.pszPopupName = (char*)-1; mi.pszName = "Assign Smiley Category"; - hContactMenuItem = (HANDLE)CallService(MS_CLIST_ADDCONTACTMENUITEM, 0, (LPARAM)&mi); + hContactMenuItem = Menu_AddContactMenuItem(&mi); DownloadInit(); @@ -124,7 +124,6 @@ static int MirandaShutdown(WPARAM, LPARAM) return 0; } - extern "C" __declspec(dllexport) int Load(PLUGINLINK *link) { pluginLink = link; -- cgit v1.2.3