summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoShutdown/src/main.cpp')
-rw-r--r--plugins/AutoShutdown/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/main.cpp b/plugins/AutoShutdown/src/main.cpp
index 77668f5284..dfeeb8df16 100644
--- a/plugins/AutoShutdown/src/main.cpp
+++ b/plugins/AutoShutdown/src/main.cpp
@@ -71,7 +71,7 @@ extern "C" __declspec(dllexport) int Load(void)
if (InitFrame()) return 1; /* before icons */
/* shared */
- Icon_Register(g_plugin.getInst(), "Automatic Shutdown", iconList, _countof(iconList));
+ g_plugin.registerIcon("Automatic Shutdown", iconList);
InitShutdownSvc();
InitWatcher(); /* before InitSettingsDlg() */