summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-18 21:56:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-18 21:56:03 +0300
commitcb4d31922f0690f5a3c79526245c963bfd118864 (patch)
treea6826371092617844c19772e73bf4e5756400140 /plugins/MenuItemEx
parent37a022d37e79dbe9892f376ef7c3b6b8878c4aff (diff)
Icon_Register(g_plugin.getInst() => g_plugin.registerIcon
Icon_RegisterT(g_plugin.getInst() => g_plugin.registerIconW
Diffstat (limited to 'plugins/MenuItemEx')
-rw-r--r--plugins/MenuItemEx/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp
index 7a65c6b0b7..06bd112ebc 100644
--- a/plugins/MenuItemEx/src/main.cpp
+++ b/plugins/MenuItemEx/src/main.cpp
@@ -1053,8 +1053,8 @@ extern "C" __declspec(dllexport) int Load(void)
mir_getLP(&pluginInfoEx);
pcli = Clist_GetInterface();
- Icon_Register(g_plugin.getInst(), LPGEN("MenuItemEx"), iconList, _countof(iconList));
- Icon_Register(g_plugin.getInst(), LPGEN("MenuItemEx"), overlayIconList, _countof(overlayIconList));
+ g_plugin.registerIcon(LPGEN("MenuItemEx"), iconList);
+ g_plugin.registerIcon(LPGEN("MenuItemEx"), overlayIconList);
CreateServiceFunction(MS_SETINVIS, onSetInvis);
CreateServiceFunction(MS_SETVIS, onSetVis);