summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-07 19:24:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-07 19:24:29 +0000
commit4c8d197c7259166c26e037f352f9cc801942308e (patch)
tree9563615d1fc46c5f62e892416d77aef0b4172680 /plugins/TopToolBar/main.cpp
parent3dfbb6741fe9e70bff6b70608cd7663742287a4a (diff)
- removed unneeded hooks & services control;
- arrangedpos uniqueness git-svn-id: http://svn.miranda-ng.org/main/trunk@824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/main.cpp')
-rw-r--r--plugins/TopToolBar/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/TopToolBar/main.cpp b/plugins/TopToolBar/main.cpp
index 2bd283bcfc..7eb6c653f2 100644
--- a/plugins/TopToolBar/main.cpp
+++ b/plugins/TopToolBar/main.cpp
@@ -7,8 +7,6 @@ HINSTANCE hInst;
HANDLE hHookTTBModuleLoaded;
int hLangpack;
-LIST<void> arHooks(10), arServices(10);
-
#define MIID_TTB {0xf593c752, 0x51d8, 0x4d46, {0xba, 0x27, 0x37, 0x57, 0x79, 0x53, 0xf5, 0x5c}}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
@@ -58,12 +56,6 @@ extern "C" int __declspec(dllexport) Unload(void)
UnLoadInternalButtons();
UnloadToolbarModule();
- for (int i=0; i < arHooks.getCount(); i++ )
- UnhookEvent( arHooks[i] );
-
- for (int j=0; j < arServices.getCount(); j++ )
- DestroyServiceFunction( arServices[j] );
-
DestroyHookableEvent(hHookTTBModuleLoaded);
return 0;
}