From 59b6fb0fe20c274743fbd1b9742be94b1e5134a4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 22 Jul 2015 17:53:20 +0000 Subject: - extra icons services converted into functions; - more Kill* functions exported; git-svn-id: http://svn.miranda-ng.org/main/trunk@14635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Rate/src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Rate') diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp index b7f234572b..7677f10aa5 100644 --- a/plugins/Rate/src/main.cpp +++ b/plugins/Rate/src/main.cpp @@ -85,7 +85,7 @@ static void setExtraIcon(MCONTACT hContact, int bRate = -1, BOOL clear = TRUE) } if (icon != NULL || clear) - ExtraIcon_SetIcon(hExtraIcon, hContact, icon); + ExtraIcon_SetIconByName(hExtraIcon, hContact, icon); } /////////////////////////////////////////////////////////////////////////////// @@ -127,8 +127,7 @@ extern "C" int __declspec(dllexport) Load(void) Icon_Register(g_hInst, LPGEN("Contact rate"), iconList, _countof(iconList)); // Extra icon support - hExtraIcon = ExtraIcon_Register("contact_rate", LPGEN("Contact rate"), "rate_high"); - + hExtraIcon = ExtraIcon_RegisterIcolib("contact_rate", LPGEN("Contact rate"), "rate_high"); return 0; } -- cgit v1.2.3