diff options
author | George Hazan <george.hazan@gmail.com> | 2016-01-28 16:04:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-01-28 16:04:16 +0000 |
commit | bb5aff746c50564ded61159c5ae28e6218d0a49d (patch) | |
tree | 0ec2ef5c4b6b6b9cf6c3bb4a606cf632e69b6d31 /src/core/stduseronline | |
parent | 1042a84dd1f01c249a946ec708d3dae2881ecfab (diff) |
another atavism removed: old stub services for clist events
git-svn-id: http://svn.miranda-ng.org/main/trunk@16181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stduseronline')
-rw-r--r-- | src/core/stduseronline/src/useronline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stduseronline/src/useronline.cpp b/src/core/stduseronline/src/useronline.cpp index 12f7cda357..20ba0e68cf 100644 --- a/src/core/stduseronline/src/useronline.cpp +++ b/src/core/stduseronline/src/useronline.cpp @@ -47,7 +47,7 @@ static int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam) int lastEvent = (int)db_get_dw(hContact, "UserOnline", "LastEvent", 0);
if (lastEvent) {
- CallService(MS_CLIST_REMOVEEVENT, hContact, (LPARAM)lastEvent);
+ pcli->pfnRemoveEvent(hContact, lastEvent);
db_set_dw(hContact, "UserOnline", "LastEvent", 0);
}
}
@@ -67,7 +67,7 @@ static int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam) cle.hIcon = Skin_LoadIcon(SKINICON_OTHER_USERONLINE, false);
cle.pszService = "UserOnline/Description";
cle.ptszTooltip = tooltip;
- CallService(MS_CLIST_ADDEVENT, 0, (LPARAM)&cle);
+ pcli->pfnAddEvent(&cle);
IcoLib_ReleaseIcon(cle.hIcon, 0);
db_set_dw(cle.hContact, "UserOnline", "LastEvent", (DWORD)cle.hDbEvent);
SkinPlaySound("UserOnline");
|