summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar/src/main.cpp')
-rw-r--r--plugins/TopToolBar/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/main.cpp b/plugins/TopToolBar/src/main.cpp
index 896e70ad65..2e0913797a 100644
--- a/plugins/TopToolBar/src/main.cpp
+++ b/plugins/TopToolBar/src/main.cpp
@@ -47,7 +47,7 @@ extern "C" int __declspec(dllexport) Load(void)
mir_getLP(&pluginInfo);
pcli = Clist_GetInterface();
- Icon_Register(g_plugin.getInst(), TTB_OPTDIR, iconList, _countof(iconList), TTB_OPTDIR);
+ g_plugin.registerIcon(TTB_OPTDIR, iconList, TTB_OPTDIR);
LoadToolbarModule();
return 0;