summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-21 14:56:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-21 14:56:39 +0300
commitf04b54e3fc162d475e8688784631a316f264f733 (patch)
tree5feed9526e1c2acac25942f39f68713b8ccb9d1d /plugins/FileAsMessage/src
parentec8a7614a371f41937dc1dbc2d53289e45706e3a (diff)
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'plugins/FileAsMessage/src')
-rw-r--r--plugins/FileAsMessage/src/dialog.cpp4
1 files changed, 2 insertions, 2 deletions
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();