summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NoHistory/src/icons.cpp')
-rw-r--r--plugins/NoHistory/src/icons.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/NoHistory/src/icons.cpp b/plugins/NoHistory/src/icons.cpp
index b24cadf3c2..3b8dfbf2b6 100644
--- a/plugins/NoHistory/src/icons.cpp
+++ b/plugins/NoHistory/src/icons.cpp
@@ -1,7 +1,5 @@
#include "stdafx.h"
-HICON hIconRemove, hIconKeep, hIconClear;
-
static IconItem iconList[] =
{
{ LPGEN("Disable"), "remove", IDI_HREMOVE },
@@ -9,19 +7,7 @@ static IconItem iconList[] =
{ LPGEN("Clear"), "clear", IDI_HCLEAR },
};
-int ReloadIcons(WPARAM, LPARAM)
-{
- hIconRemove = IcoLib_GetIconByHandle(iconList[0].hIcolib);
- hIconKeep = IcoLib_GetIconByHandle(iconList[1].hIcolib);
- hIconClear = IcoLib_GetIconByHandle(iconList[2].hIcolib);
- return 0;
-}
-
void InitIcons()
{
g_plugin.registerIcon(LPGEN("No History"), iconList, MODULENAME);
-
- ReloadIcons(0, 0);
-
- HookEvent(ME_SKIN_ICONSCHANGED, ReloadIcons);
}