summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence/src
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/StartupSilence/src
parent37a022d37e79dbe9892f376ef7c3b6b8878c4aff (diff)
Icon_Register(g_plugin.getInst() => g_plugin.registerIcon
Icon_RegisterT(g_plugin.getInst() => g_plugin.registerIconW
Diffstat (limited to 'plugins/StartupSilence/src')
-rw-r--r--plugins/StartupSilence/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp
index 60960e472d..3382ad8a5d 100644
--- a/plugins/StartupSilence/src/main.cpp
+++ b/plugins/StartupSilence/src/main.cpp
@@ -432,7 +432,7 @@ int ModulesLoaded(WPARAM, LPARAM)
HookEvent(ME_POPUP_FILTER, DisablePopup);
hTTBarloaded = HookEvent(ME_TTB_MODULELOADED, CreateTTButtons);
if (TTBButtons == 1 && hTTBarloaded != nullptr) {
- Icon_Register(g_plugin.getInst(), "Toolbar/" MENU_NAME, iconttbList, _countof(iconttbList), MENU_NAME);
+ g_plugin.registerIcon("Toolbar/" MENU_NAME, iconttbList, MENU_NAME);
RemoveTTButtons();
CreateTTButtons(0, 0);
}
@@ -454,7 +454,7 @@ extern "C" __declspec(dllexport) int Load(void)
CreateServiceFunction(SS_SILENCE_CONNECTION, SilenceConnection);
if (MenuItem == 1) {
- Icon_Register(g_plugin.getInst(), MENU_NAME, iconList, _countof(iconList), MENU_NAME);
+ g_plugin.registerIcon(MENU_NAME, iconList, MENU_NAME);
InitMenu();
}
return 0;