From b85f92056ab45c740b9d5e15230cbecf6f52b826 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sat, 14 May 2011 11:07:39 +0000 Subject: removed not needed code git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@82 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- popup/src/main.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'popup/src/main.cpp') diff --git a/popup/src/main.cpp b/popup/src/main.cpp index 3850a43..8dd9ae9 100644 --- a/popup/src/main.cpp +++ b/popup/src/main.cpp @@ -77,7 +77,6 @@ HANDLE hMenuItemHistory = NULL; HANDLE hShowHistory = NULL; HANDLE hTogglePopup = NULL; HANDLE hGetStatus = NULL; -HANDLE hGetVersion = NULL; //===== Event Handles ===== HANDLE hOptionsInitialize; @@ -524,11 +523,6 @@ static int OkToExit(WPARAM wParam, LPARAM lParam) return 0; } -static INT_PTR svcGetVersion(WPARAM, LPARAM) -{ - return pluginInfoEx.version; -} - //===== Load ===== //Initializes the services provided and the link to those needed //Called when the plugin is loaded into Miranda @@ -542,7 +536,6 @@ MIRAPI int Load(PLUGINLINK *link) CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM) sizeof(ver), (LPARAM) ver); g_popup.isMirUnicode = strstr(ver, "Unicode") != NULL; - hGetVersion = CreateServiceFunction("PopupPlus/GetVersion", svcGetVersion); hGetStatus = CreateServiceFunction(MS_POPUP_GETSTATUS, GetStatus); DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &hMainThread, THREAD_SET_CONTEXT, FALSE, 0); @@ -708,7 +701,6 @@ MIRAPI int Unload(void) DestroyServiceFunction(hShowHistory); DestroyServiceFunction(hTogglePopup); DestroyServiceFunction(hGetStatus); - DestroyServiceFunction(hGetVersion); DestroyServiceFunction(hSquareFad); DeleteObject(fonts.title); -- cgit v1.2.3