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/FileAsMessage/src/dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/FileAsMessage/src') diff --git a/plugins/FileAsMessage/src/dialog.cpp b/plugins/FileAsMessage/src/dialog.cpp index 5336ec84ee..a60d970173 100644 --- a/plugins/FileAsMessage/src/dialog.cpp +++ b/plugins/FileAsMessage/src/dialog.cpp @@ -67,7 +67,7 @@ static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA case WM_COMMAND: { PUDeletePopup(hWnd); - g_clistApi.pfnRemoveEvent(hContact, 0); + Clist_RemoveEvent(hContact, 0); if (IsWindow(hDlg)) { ShowWindow(hDlg, SW_SHOWNORMAL); @@ -488,7 +488,7 @@ void FILEECHO::onRecvTimer() setState(STATE_FINISHED); if (db_get_b(0, "SRFile", "AutoClose", 0)) { PostMessage(hDlg, WM_CLOSE, 0, 0); - g_clistApi.pfnRemoveEvent(hContact, 0); + Clist_RemoveEvent(hContact, 0); } Skin_PlaySound("FileDone"); destroyTransfer(); -- cgit v1.2.3