summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-14 12:31:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-14 12:31:13 +0300
commite879ff621a1d12b133e5ad0ed608cbd7ca542d25 (patch)
tree0f4b93d28a6de359c41b6be0002462191d98e56c
parent5a175d69f6402d6fbdd8a90650d98c346545a4fd (diff)
unused code cleaned
-rw-r--r--src/core/stdmsg/src/statusicon.cpp2
-rw-r--r--src/mir_app/src/srmm_statusicon.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/statusicon.cpp b/src/core/stdmsg/src/statusicon.cpp
index 057a544e41..f467720907 100644
--- a/src/core/stdmsg/src/statusicon.cpp
+++ b/src/core/stdmsg/src/statusicon.cpp
@@ -70,8 +70,6 @@ void CheckStatusIconClick(MCONTACT hContact, HWND hwndFrom, POINT pt, const RECT
NotifyEventHooks(hHookIconPressedEvt, hContact, (LPARAM)&sicd);
}
-HANDLE hServiceIcon[3];
-
int InitStatusIcons()
{
HookEvent(ME_MSG_ICONSCHANGED, OnSrmmIconChanged);
diff --git a/src/mir_app/src/srmm_statusicon.cpp b/src/mir_app/src/srmm_statusicon.cpp
index f7887095fe..67a97ebf05 100644
--- a/src/mir_app/src/srmm_statusicon.cpp
+++ b/src/mir_app/src/srmm_statusicon.cpp
@@ -219,7 +219,6 @@ int LoadSrmmModule()
void UnloadSrmmModule()
{
arIcons.destroy();
- NotifyEventHooks(hHookIconsChanged, 0, 0);
DestroyHookableEvent(hHookIconsChanged);
DestroyHookableEvent(hHookSrmmEvent);