From 1fb0cd07fba1e8d6f9ac2ebe3b4f2e1c60acb81b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Feb 2014 21:51:46 +0000 Subject: - metacontacts are always present; - added META_PROTO constant for mc module name; - MS_MC_GETPROTOCOLNAME removed, because it always returns META_PROTO git-svn-id: http://svn.miranda-ng.org/main/trunk@8319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugins/SmileyAdd/src/main.cpp') diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index 7279cfac60..82e90f56bc 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -24,8 +24,6 @@ HINSTANCE g_hInst; HANDLE hEvent1; HGENMENU hContactMenuItem; -char* metaProtoName; - int hLangpack; static const PLUGININFOEX pluginInfoEx = @@ -54,9 +52,6 @@ static int ModulesLoaded(WPARAM, LPARAM) { Icon_Register(g_hInst, "SmileyAdd", &icon, 1); - INT_PTR temp = CallService(MS_MC_GETPROTOCOLNAME, 0, 0); - metaProtoName = mir_strdup(temp == CALLSERVICE_NOTFOUND ? NULL : (char*)temp); - CLISTMENUITEM mi = { sizeof(mi) }; mi.flags = CMIF_ROOTPOPUP; mi.popupPosition = 2000070050; @@ -143,8 +138,6 @@ extern "C" __declspec(dllexport) int Unload(void) DestroyGdiPlus(); DownloadClose(); - - mir_free(metaProtoName); return 0; } -- cgit v1.2.3