diff options
author | Szymon Tokarz <wsx22@o2.pl> | 2014-01-10 23:24:27 +0000 |
---|---|---|
committer | Szymon Tokarz <wsx22@o2.pl> | 2014-01-10 23:24:27 +0000 |
commit | 452fb59c22573ddf7939bea02b5e58f4f2e3916c (patch) | |
tree | 6d61acedfefcf41e784bcdc0e4549d7e8c056e89 /plugins/Clist_modern/src/modern_skinbutton.cpp | |
parent | c35cda04b5c43a4af66e4cdb2b1655e34a655f91 (diff) |
Clist_modern
- Do not execute ModernSkinButtonUnloadModule function twice
- Do not manually free smartpointer
git-svn-id: http://svn.miranda-ng.org/main/trunk@7585 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinbutton.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinbutton.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinbutton.cpp b/plugins/Clist_modern/src/modern_skinbutton.cpp index 57fe0f2293..b65782bc56 100644 --- a/plugins/Clist_modern/src/modern_skinbutton.cpp +++ b/plugins/Clist_modern/src/modern_skinbutton.cpp @@ -33,7 +33,6 @@ This file contains code related to new modern free positioned skinned buttons #define MODERNSKINBUTTONCLASS "MirandaModernSkinButtonClass"
BOOL ModernSkinButtonModuleIsLoaded = FALSE;
-static HANDLE hookSystemShutdown_ModernSkinButton = NULL;
static LRESULT CALLBACK ModernSkinButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
int ModernSkinButtonUnloadModule(WPARAM wParam, LPARAM lParam);
int SkinSelector_DeleteMask(MODERNMASK *mm);
@@ -83,7 +82,6 @@ int ModernSkinButtonLoadModule() wc.style = CS_GLOBALCLASS;
RegisterClassEx(&wc);
InitializeCriticalSection(&csTips);
- hookSystemShutdown_ModernSkinButton = HookEvent(ME_SYSTEM_SHUTDOWN, ModernSkinButtonUnloadModule);
ModernSkinButtonModuleIsLoaded = TRUE;
return 0;
}
|