From 02ed4455c23e3562d71bfc80a0e2c4fede8708f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Jun 2015 13:17:26 +0000 Subject: - all icolib services removed; - IcoLib_* functions are bound directly to the code git-svn-id: http://svn.miranda-ng.org/main/trunk@14161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TipperYM/src/popwin.cpp | 6 +++--- plugins/TipperYM/src/subst.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TipperYM') diff --git a/plugins/TipperYM/src/popwin.cpp b/plugins/TipperYM/src/popwin.cpp index a40103b154..71094462ef 100644 --- a/plugins/TipperYM/src/popwin.cpp +++ b/plugins/TipperYM/src/popwin.cpp @@ -364,9 +364,9 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa iGender = db_get_b(pwd->hContact, szProto, "Gender", 0); if (iGender == GEN_FEMALE) - pwd->extraIcons[i].hIcon = Skin_GetIcon("gender_female"); + pwd->extraIcons[i].hIcon = IcoLib_GetIcon("gender_female"); else if (iGender == GEN_MALE) - pwd->extraIcons[i].hIcon = Skin_GetIcon("gender_male"); + pwd->extraIcons[i].hIcon = IcoLib_GetIcon("gender_male"); pwd->extraIcons[i].bDestroy = false; } @@ -935,7 +935,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa if (pwd->extraIcons[i].bDestroy) DestroyIcon(pwd->extraIcons[i].hIcon); else - Skin_ReleaseIcon(pwd->extraIcons[i].hIcon); + IcoLib_ReleaseIcon(pwd->extraIcons[i].hIcon); } mir_free(pwd->clcit.swzText); diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp index 789621bfe9..4830e729d7 100644 --- a/plugins/TipperYM/src/subst.cpp +++ b/plugins/TipperYM/src/subst.cpp @@ -838,7 +838,7 @@ HICON GetJabberActivityIcon(MCONTACT hContact, char *szProto) char szSetting[128]; mir_snprintf(szSetting, "%s/%s/%s", szProto, "activity", "icon"); if (!db_get_s(hContact, "AdvStatus", szSetting, &dbv)) { - hIcon = Skin_GetIcon(dbv.pszVal); + hIcon = IcoLib_GetIcon(dbv.pszVal); db_free(&dbv); } -- cgit v1.2.3