diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-22 17:53:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-22 17:53:20 +0000 |
commit | 59b6fb0fe20c274743fbd1b9742be94b1e5134a4 (patch) | |
tree | 1fe68cf72ab221fbca0f24b36b35f5c1087a9450 /plugins/ListeningTo | |
parent | 36818c9c84cce676b9ec6533807b7a33e03902a0 (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/ListeningTo')
-rw-r--r-- | plugins/ListeningTo/src/listeningto.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index 22a5663a82..c1472b79cb 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -145,8 +145,7 @@ extern "C" int __declspec(dllexport) Load(void) Icon_Register(hInst, LPGEN("ListeningTo"), iconList, _countof(iconList));
// Extra icon support
- hExtraIcon = ExtraIcon_Register(MODULE_NAME "_icon", LPGEN("Listening to music"), "listening_to_icon");
-
+ hExtraIcon = ExtraIcon_RegisterIcolib(MODULE_NAME "_icon", LPGEN("Listening to music"), "listening_to_icon");
return 0;
}
@@ -911,7 +910,7 @@ void HasNewListeningInfo() void SetExtraIcon(MCONTACT hContact, BOOL set)
{
- ExtraIcon_SetIcon(hExtraIcon, hContact, set ? "listening_to_icon" : NULL);
+ ExtraIcon_SetIconByName(hExtraIcon, hContact, set ? "listening_to_icon" : NULL);
}
int SettingChanged(WPARAM hContact,LPARAM lParam)
|