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 --- protocols/GmailNotifier/src/notify.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/GmailNotifier/src') diff --git a/protocols/GmailNotifier/src/notify.cpp b/protocols/GmailNotifier/src/notify.cpp index 73f744d421..99b26b8f55 100644 --- a/protocols/GmailNotifier/src/notify.cpp +++ b/protocols/GmailNotifier/src/notify.cpp @@ -73,7 +73,7 @@ int OpenBrowser(WPARAM hContact, LPARAM) if (proto && !mir_strcmp(proto, MODULENAME)) { Account *curAcc = GetAccountByContact(hContact); PUDeletePopup(curAcc->popUpHwnd); - g_clistApi.pfnRemoveEvent(curAcc->hContact, 1); + Clist_RemoveEvent(curAcc->hContact, 1); if (GetKeyState(VK_SHIFT) >> 8 || optionWindowIsOpen) return FALSE; @@ -114,7 +114,7 @@ static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA case WM_CONTEXTMENU: PUDeletePopup(hWnd); curAcc->popUpHwnd = nullptr; - g_clistApi.pfnRemoveEvent(hContact, 1); + Clist_RemoveEvent(hContact, 1); } return DefWindowProc(hWnd, message, wParam, lParam); } @@ -128,7 +128,7 @@ void NotifyUser(Account *curAcc) switch (curAcc->results_num) { case 0: PUDeletePopup(curAcc->popUpHwnd); - g_clistApi.pfnRemoveEvent(curAcc->hContact, 1); + Clist_RemoveEvent(curAcc->hContact, 1); if (curAcc->oldResults_num != 0) g_plugin.setWord(curAcc->hContact, "Status", ID_STATUS_NONEW); break; @@ -156,7 +156,7 @@ void NotifyUser(Account *curAcc) } } if (g_plugin.bNotifierOnTray && newMails > 0) { - g_clistApi.pfnRemoveEvent(curAcc->hContact, 1); + Clist_RemoveEvent(curAcc->hContact, 1); CLISTEVENT cle = {}; cle.hContact = curAcc->hContact; -- cgit v1.2.3