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/MobileState | |
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/MobileState')
-rw-r--r-- | plugins/MobileState/src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index 256e727e6b..e39187cad1 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -74,7 +74,7 @@ int ExtraIconsApply(WPARAM wParam, LPARAM lParam) return 0;
if (hasMobileClient(wParam, lParam))
- ExtraIcon_SetIcon(hExtraIcon, wParam, "mobile_icon");
+ ExtraIcon_SetIconByName(hExtraIcon, wParam, "mobile_icon");
else
ExtraIcon_Clear(hExtraIcon, wParam);
@@ -115,8 +115,7 @@ extern "C" int __declspec(dllexport) Load(void) Icon_Register(g_hInst, "Mobile State", &icon, 1);
// Extra icons
- hExtraIcon = ExtraIcon_Register("mobilestate", LPGEN("Mobile State"), "mobile_icon");
-
+ hExtraIcon = ExtraIcon_RegisterIcolib("mobilestate", LPGEN("Mobile State"), "mobile_icon");
return 0;
}
|