From cb4d31922f0690f5a3c79526245c963bfd118864 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 May 2018 21:56:03 +0300 Subject: Icon_Register(g_plugin.getInst() => g_plugin.registerIcon Icon_RegisterT(g_plugin.getInst() => g_plugin.registerIconW --- plugins/AutoShutdown/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AutoShutdown/src') 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() */ -- cgit v1.2.3