diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 16:28:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 16:28:18 +0300 |
commit | 869094d2aabef8ab10a1178907cb31ae84f504f9 (patch) | |
tree | 0af7b9054186534b61a7c5a12c6ffed32db10151 /plugins/TopToolBar/src | |
parent | 6ccfdcb25f2bb3c7a4e39a055bb392c0d4bfa905 (diff) |
IcoLib_AddIcon => CMPlugin::addIcon
Diffstat (limited to 'plugins/TopToolBar/src')
-rw-r--r-- | plugins/TopToolBar/src/toolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index a3fbea4ad6..5fab8accab 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -163,7 +163,7 @@ static void Icon2button(TTBButton *but, HANDLE &hIcoLib, HICON &hIcon, bool bIsU mir_snprintf(buf, "%s%s", but->name, bIsUp ? "" : " (pressed)");
sid.description.a = buf;
sid.hDefaultIcon = bIsUp ? but->hIconUp : but->hIconDn;
- hIcoLib = IcoLib_AddIcon(&sid);
+ hIcoLib = g_plugin.addIcon(&sid);
}
hIcon = IcoLib_GetIconByHandle(hIcoLib);
|