summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/main.cpp')
-rw-r--r--plugins/Popup/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index b50b1a1025..f2078009ff 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -135,7 +135,7 @@ static int TTBLoaded(WPARAM, LPARAM)
ttb.hIconHandleDn = GetIconHandle(IDI_POPUP);
ttb.pszTooltipUp = LPGEN("Enable Popups");
ttb.pszTooltipDn = LPGEN("Disable Popups");
- hTTButton = TopToolbar_AddButton(&ttb);
+ hTTButton = g_plugin.addTTB(&ttb);
return 0;
}