summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/ContactList.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-02-23 21:28:06 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-02-23 21:28:06 +0000
commita8a5cfd818bcf099c5a0f5bd018d1d596a0d533b (patch)
tree10099d3253e06d291263553e587945991f89aaa9 /plugins/NewAwaySysMod/src/ContactList.cpp
parent5324ca994e91397adba4e620fe31459dc86e2e75 (diff)
-minor fixes for NewAwaySystem
git-svn-id: http://svn.miranda-ng.org/main/trunk@8239 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/src/ContactList.cpp')
-rw-r--r--plugins/NewAwaySysMod/src/ContactList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewAwaySysMod/src/ContactList.cpp b/plugins/NewAwaySysMod/src/ContactList.cpp
index 88102ed768..0471763944 100644
--- a/plugins/NewAwaySysMod/src/ContactList.cpp
+++ b/plugins/NewAwaySysMod/src/ContactList.cpp
@@ -37,7 +37,7 @@ static int CLContactIconChanged(WPARAM wParam, LPARAM lParam)
return 0;
}
-static int CLIconsChanged(WPARAM wParam, LPARAM lParam)
+static int CLIconsChanged(WPARAM, LPARAM)
{
WindowList_Broadcast(hCLWindowList, INTM_INVALIDATE, 0, 0);
return 0;
@@ -45,7 +45,7 @@ static int CLIconsChanged(WPARAM wParam, LPARAM lParam)
void LoadCListModule()
{
- hCLWindowList = (HANDLE)CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0);
+ hCLWindowList = WindowList_Create();
HookEvent(ME_DB_CONTACT_DELETED, CLContactDeleted);
HookEvent(ME_CLIST_CONTACTICONCHANGED, CLContactIconChanged);
HookEvent(ME_SKIN_ICONSCHANGED, CLIconsChanged);