summaryrefslogtreecommitdiff
path: root/popup/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'popup/src/main.cpp')
-rw-r--r--popup/src/main.cpp8
1 files changed, 0 insertions, 8 deletions
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);