summaryrefslogtreecommitdiff
path: root/plugins/ExtraIcons
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExtraIcons')
-rw-r--r--plugins/ExtraIcons/src/options.cpp2
-rw-r--r--plugins/ExtraIcons/src/usedIcons.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ExtraIcons/src/options.cpp b/plugins/ExtraIcons/src/options.cpp
index 8308ac444c..83228a2a72 100644
--- a/plugins/ExtraIcons/src/options.cpp
+++ b/plugins/ExtraIcons/src/options.cpp
@@ -516,7 +516,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
else
{
ImageList_AddIcon(hImageList, hIcon);
- IcoLib_ReleaseIcon(hIcon);
+ Skin_ReleaseIcon(hIcon);
}
}
TreeView_SetImageList(tree, hImageList, TVSIL_NORMAL);
diff --git a/plugins/ExtraIcons/src/usedIcons.cpp b/plugins/ExtraIcons/src/usedIcons.cpp
index de58069293..173117b865 100644
--- a/plugins/ExtraIcons/src/usedIcons.cpp
+++ b/plugins/ExtraIcons/src/usedIcons.cpp
@@ -62,7 +62,7 @@ static Icon * FindIcon(const char *icolibName)
if (icon->hImage == (HANDLE) -1)
icon->hImage = NULL;
- IcoLib_ReleaseIcon(hIcon);
+ Skin_ReleaseIcon(hIcon);
}
}