From f04b54e3fc162d475e8688784631a316f264f733 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 May 2023 14:56:39 +0300 Subject: Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent --- plugins/BuddyExpectator/src/BuddyExpectator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/BuddyExpectator/src/BuddyExpectator.cpp') 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; -- cgit v1.2.3