diff options
author | George Hazan <george.hazan@gmail.com> | 2023-05-21 14:56:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-05-21 14:56:39 +0300 |
commit | f04b54e3fc162d475e8688784631a316f264f733 (patch) | |
tree | 5feed9526e1c2acac25942f39f68713b8ccb9d1d /plugins/BuddyExpectator/src | |
parent | ec8a7614a371f41937dc1dbc2d53289e45706e3a (diff) |
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'plugins/BuddyExpectator/src')
-rw-r--r-- | plugins/BuddyExpectator/src/BuddyExpectator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index 1a9285e4dc..641af4fbaf 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -163,14 +163,14 @@ LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa switch (message) {
case WM_COMMAND:
if (HIWORD(wParam) == STN_CLICKED) {
- g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0);
+ Clist_RemoveEvent(PUGetContact(hWnd), 0);
CallServiceSync("BuddyExpectator/actionReturned", PUGetContact(hWnd), 0);
PUDeletePopup(hWnd);
}
break;
case WM_CONTEXTMENU:
- g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0);
+ Clist_RemoveEvent(PUGetContact(hWnd), 0);
setLastSeen(PUGetContact(hWnd));
PUDeletePopup(hWnd);
break;
@@ -188,14 +188,14 @@ LRESULT CALLBACK PopupDlgProcNoSet(HWND hWnd, UINT message, WPARAM wParam, LPARA switch (message) {
case WM_COMMAND:
if (HIWORD(wParam) == STN_CLICKED) {
- g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0);
+ Clist_RemoveEvent(PUGetContact(hWnd), 0);
CallServiceSync("BuddyExpectator/actionStillAbsent", (WPARAM)PUGetContact(hWnd), 0);
PUDeletePopup(hWnd);
}
break;
case WM_CONTEXTMENU:
- g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0);
+ Clist_RemoveEvent(PUGetContact(hWnd), 0);
PUDeletePopup(hWnd);
break;
|