From 680873487c4a7987012606119a744e5ca725ad30 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 13 Apr 2019 20:22:59 +0300 Subject: merge with trunk --- protocols/Sametime/src/sametime.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'protocols/Sametime/src/sametime.cpp') diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp index ab7dce7818..189e877a66 100644 --- a/protocols/Sametime/src/sametime.cpp +++ b/protocols/Sametime/src/sametime.cpp @@ -86,28 +86,6 @@ void SametimeInitIcons(void) g_plugin.registerIcon("Protocols/Sametime", iconList, "SAMETIME"); } -HANDLE GetIconHandle(int iconId) -{ - for (int i = 0; i < _countof(iconList); i++) - if (iconList[i].defIconID == iconId) - return iconList[i].hIcolib; - return nullptr; -} - -HICON LoadIconEx(const char* name, bool big) -{ - char szSettingName[100]; - mir_snprintf(szSettingName, "%s_%s", "SAMETIME", name); - return IcoLib_GetIcon(szSettingName, big); -} - -void ReleaseIconEx(const char* name, bool big) -{ - char szSettingName[100]; - mir_snprintf(szSettingName, "%s_%s", "SAMETIME", name); - IcoLib_Release(szSettingName, big); -} - // Copied from MSN plugin - sent acks need to be from different thread void __cdecl sttFakeAckInfoSuccessThread(TFakeAckParams* tParam) { -- cgit v1.2.3