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 --- protocols/Sametime/src/sametime.cpp | 8 ++++---- protocols/Sametime/src/sametime.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Sametime/src') diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp index a3824263dd..bf324f6528 100644 --- a/protocols/Sametime/src/sametime.cpp +++ b/protocols/Sametime/src/sametime.cpp @@ -105,18 +105,18 @@ HANDLE GetIconHandle(int iconId) return NULL; } -HICON LoadIconEx(const char* name, BOOL big) +HICON LoadIconEx(const char* name, bool big) { char szSettingName[100]; mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", "SAMETIME", name); - return Skin_GetIcon(szSettingName, big); + return IcoLib_GetIcon(szSettingName, big); } -void ReleaseIconEx(const char* name, BOOL big) +void ReleaseIconEx(const char* name, bool big) { char szSettingName[100]; mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", "SAMETIME", name); - Skin_ReleaseIcon(szSettingName, big); + IcoLib_Release(szSettingName, big); } // Copied from MSN plugin - sent acks need to be from different thread diff --git a/protocols/Sametime/src/sametime.h b/protocols/Sametime/src/sametime.h index 22d07668e8..2458028af0 100644 --- a/protocols/Sametime/src/sametime.h +++ b/protocols/Sametime/src/sametime.h @@ -42,8 +42,8 @@ void mwResolve_handler_callback(mwServiceResolve* srvc, guint32 id, guint32 code void SametimeInitIcons(void); HANDLE GetIconHandle(int iconId); -HICON LoadIconEx(const char* name, BOOL big); -void ReleaseIconEx(const char* name, BOOL big); +HICON LoadIconEx(const char* name, bool big); +void ReleaseIconEx(const char* name, bool big); // services (async thread functions) -- cgit v1.2.3