From 3f9882178018afbe9aaaba1f4461f3fc75493260 Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Mon, 15 Jun 2015 14:23:02 +0000
Subject: MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct
 function calls

git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/GmailNotifier/src/main.cpp   | 2 +-
 plugins/GmailNotifier/src/notify.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'plugins/GmailNotifier')

diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp
index dc749998b4..131d7b65b9 100644
--- a/plugins/GmailNotifier/src/main.cpp
+++ b/plugins/GmailNotifier/src/main.cpp
@@ -134,7 +134,7 @@ extern "C" int __declspec(dllexport) Load()
 	CLISTMENUITEM mi = { sizeof(mi) };
 	mi.position = -0x7FFFFFFF;
 	mi.flags = 0;
-	mi.hIcon = LoadSkinnedProtoIcon(pluginName, ID_STATUS_ONLINE);
+	mi.hIcon = Skin_LoadProtoIcon(pluginName, ID_STATUS_ONLINE);
 	mi.pszName = LPGEN("&Check all Gmail inboxes");
 	mi.pszContactOwner = pluginName;
 	mi.pszService = "GmailMNotifier/MenuCommand";
diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp
index 76f2584973..e1aff5e67e 100644
--- a/plugins/GmailNotifier/src/notify.cpp
+++ b/plugins/GmailNotifier/src/notify.cpp
@@ -91,7 +91,7 @@ void NotifyUser(Account *curAcc)
 			cle.hContact = curAcc->hContact;
 			cle.hDbEvent = 1;
 			cle.flags = CLEF_URGENT;
-			cle.hIcon = LoadSkinnedProtoIcon(pluginName, ID_STATUS_OCCUPIED);
+			cle.hIcon = Skin_LoadProtoIcon(pluginName, ID_STATUS_OCCUPIED);
 			cle.pszService = "GmailMNotifier/Notifying";
 			cle.pszTooltip = curAcc->results.next->content;
 			CallServiceSync(MS_CLIST_REMOVEEVENT, (WPARAM)curAcc->hContact, (LPARAM)1);
@@ -102,7 +102,7 @@ void NotifyUser(Account *curAcc)
 			POPUPDATA ppd = { 0 };
 
 			ppd.lchContact = curAcc->hContact;
-			ppd.lchIcon = LoadSkinnedProtoIcon(pluginName, ID_STATUS_OCCUPIED);
+			ppd.lchIcon = Skin_LoadProtoIcon(pluginName, ID_STATUS_OCCUPIED);
 			mir_strcpy(ppd.lpzContactName, curAcc->results.content);
 			resultLink *prst = curAcc->results.next;
 			for (int i = 0; i < 5 && i < newMails; i++) {
-- 
cgit v1.2.3