summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/settingsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoShutdown/src/settingsdlg.cpp')
-rw-r--r--plugins/AutoShutdown/src/settingsdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp
index c9faec75f4..f209b13bad 100644
--- a/plugins/AutoShutdown/src/settingsdlg.cpp
+++ b/plugins/AutoShutdown/src/settingsdlg.cpp
@@ -416,7 +416,7 @@ int ToolbarLoaded(WPARAM, LPARAM)
ttb.name = LPGEN("Start/Stop automatic shutdown");
ttb.pszTooltipUp = LPGEN("Start automatic shutdown");
ttb.pszTooltipDn = LPGEN("Stop automatic shutdown");
- hToolbarButton = TopToolbar_AddButton(&ttb);
+ hToolbarButton = g_plugin.addTTB(&ttb);
return 0;
}