summaryrefslogtreecommitdiff
path: root/protocols/GmailNotifier/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 /protocols/GmailNotifier/src
parentec8a7614a371f41937dc1dbc2d53289e45706e3a (diff)
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'protocols/GmailNotifier/src')
-rw-r--r--protocols/GmailNotifier/src/notify.cpp8
1 files changed, 4 insertions, 4 deletions
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;