summaryrefslogtreecommitdiff
path: root/plugins/Rate
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-22 17:53:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-22 17:53:20 +0000
commit59b6fb0fe20c274743fbd1b9742be94b1e5134a4 (patch)
tree1fe68cf72ab221fbca0f24b36b35f5c1087a9450 /plugins/Rate
parent36818c9c84cce676b9ec6533807b7a33e03902a0 (diff)
- 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
Diffstat (limited to 'plugins/Rate')
-rw-r--r--plugins/Rate/src/main.cpp5
1 files changed, 2 insertions, 3 deletions
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;
}