diff options
author | George Hazan <george.hazan@gmail.com> | 2023-05-21 14:56:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-05-21 14:56:39 +0300 |
commit | f04b54e3fc162d475e8688784631a316f264f733 (patch) | |
tree | 5feed9526e1c2acac25942f39f68713b8ccb9d1d /protocols/YAMN | |
parent | ec8a7614a371f41937dc1dbc2d53289e45706e3a (diff) |
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'protocols/YAMN')
-rw-r--r-- | protocols/YAMN/src/browser/mailbrowser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/YAMN/src/browser/mailbrowser.cpp b/protocols/YAMN/src/browser/mailbrowser.cpp index 7b1b68e35a..ab0f5bd068 100644 --- a/protocols/YAMN/src/browser/mailbrowser.cpp +++ b/protocols/YAMN/src/browser/mailbrowser.cpp @@ -652,7 +652,7 @@ void DoMailActions(HWND hDlg, CAccount *ActualAccount, struct CMailNumbers *MN, // and remove the event
if ((nflags & YAMN_ACC_CONT) && (!(nflags & YAMN_ACC_CONTNOEVENT)) && (MN->Real.UnSeen + MN->Virtual.UnSeen == 0))
- g_clistApi.pfnRemoveEvent(ActualAccount->hContact, ActualAccount->hContact);
+ Clist_RemoveEvent(ActualAccount->hContact, ActualAccount->hContact);
if ((MN->Real.BrowserUC + MN->Virtual.BrowserUC == 0) && (hDlg != nullptr)) {
if (!IsWindowVisible(hDlg) && !(nflags & YAMN_ACC_MSG))
@@ -796,7 +796,7 @@ LRESULT CALLBACK NewMailPopupProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa }
}
if ((Account->NewMailN.Flags & YAMN_ACC_CONT) && !(Account->NewMailN.Flags & YAMN_ACC_CONTNOEVENT))
- g_clistApi.pfnRemoveEvent(hContact, hContact);
+ Clist_RemoveEvent(hContact, hContact);
}
__fallthrough;
@@ -1606,7 +1606,7 @@ INT_PTR CALLBACK DlgProcYAMNMailBrowser(HWND hDlg, UINT msg, WPARAM wParam, LPAR SetTimer(hDlg, TIMER_FLASHING, 500, nullptr);
if (ActualAccount->hContact != NULL)
- g_clistApi.pfnRemoveEvent(ActualAccount->hContact, (LPARAM)"yamn new mail message");
+ Clist_RemoveEvent(ActualAccount->hContact, (LPARAM)"yamn new mail message");
mir_subclassWindow(GetDlgItem(hDlg, IDC_LISTMAILS), ListViewSubclassProc);
}
|