diff options
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/classPsTreeItem.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/mir_icolib.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp b/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp index 751d6f8d19..405f2a6f07 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp @@ -355,7 +355,7 @@ void InitIcons() sid.hDefaultIcon = ImageList_ExtractIcon(NULL, himl, index);
index = CountryNumberToIndex(countries[i].id);
- phIconHandles[index] = IcoLib_AddIcon(&sid);
+ phIconHandles[index] = g_plugin.addIcon(&sid);
if (sid.hDefaultIcon != nullptr)
DestroyIcon(sid.hDefaultIcon);
mir_free(sid.description.w); sid.description.w = nullptr;
diff --git a/plugins/UserInfoEx/src/classPsTreeItem.cpp b/plugins/UserInfoEx/src/classPsTreeItem.cpp index 5a40b27b19..2645b3f8d7 100644 --- a/plugins/UserInfoEx/src/classPsTreeItem.cpp +++ b/plugins/UserInfoEx/src/classPsTreeItem.cpp @@ -351,7 +351,7 @@ int CPsTreeItem::Icon(HIMAGELIST hIml, OPTIONSDIALOGPAGE *odp, BYTE bInitIconsOn sid.hDefaultIcon = ImageList_GetIcon(hIml, 0, ILD_NORMAL), bNeedFree = true;
}
// add file to icolib
- IcoLib_AddIcon(&sid);
+ g_plugin.addIcon(&sid);
if (!bInitIconsOnly)
hIcon = IcoLib_GetIcon(pszIconName);
diff --git a/plugins/UserInfoEx/src/mir_icolib.cpp b/plugins/UserInfoEx/src/mir_icolib.cpp index 998fb45807..dea1d2d8f8 100644 --- a/plugins/UserInfoEx/src/mir_icolib.cpp +++ b/plugins/UserInfoEx/src/mir_icolib.cpp @@ -260,7 +260,7 @@ static HANDLE IcoLib_RegisterIconHandleEx(LPSTR szIconID, LPSTR szDescription, L sid.hDefaultIcon = hDefIcon;
sid.iDefaultIndex = -1;
}
- hIconHandle = IcoLib_AddIcon(&sid);
+ hIconHandle = g_plugin.addIcon(&sid);
}
MIR_FREE(sid.description.w);
MIR_FREE(sid.section.w);
|