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 /src/core/stdmsg | |
parent | ec8a7614a371f41937dc1dbc2d53289e45706e3a (diff) |
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgs.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/tabs.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 63fde09620..a13c704257 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -273,7 +273,7 @@ void CMsgDialog::OnActivate() if (db_get_w(m_hContact, m_si->pszModule, "ApparentMode", 0) != 0)
db_set_w(m_hContact, m_si->pszModule, "ApparentMode", 0);
if (Clist_GetEvent(m_hContact, 0))
- g_clistApi.pfnRemoveEvent(m_hContact, GC_FAKE_EVENT);
+ Clist_RemoveEvent(m_hContact, GC_FAKE_EVENT);
}
else {
SetupStatusBar();
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp index 88cf6f656a..eab4269b80 100644 --- a/src/core/stdmsg/src/msgs.cpp +++ b/src/core/stdmsg/src/msgs.cpp @@ -195,7 +195,7 @@ static int TypingMessage(WPARAM hContact, LPARAM lParam) mir_snwprintf(szTip, TranslateT("%s is typing a message"), Clist_GetContactDisplayName(hContact));
if (g_plugin.bShowTypingClist) {
- g_clistApi.pfnRemoveEvent(hContact, 1);
+ Clist_RemoveEvent(hContact, 1);
CLISTEVENT cle = {};
cle.hContact = hContact;
diff --git a/src/core/stdmsg/src/tabs.cpp b/src/core/stdmsg/src/tabs.cpp index e6a5d34e93..668050a8a2 100644 --- a/src/core/stdmsg/src/tabs.cpp +++ b/src/core/stdmsg/src/tabs.cpp @@ -477,7 +477,7 @@ void CTabbedWindow::TabClicked() si->wState &= ~GC_EVENT_HIGHLIGHT;
if (Clist_GetEvent(si->hContact, 0))
- g_clistApi.pfnRemoveEvent(si->hContact, GC_FAKE_EVENT);
+ Clist_RemoveEvent(si->hContact, GC_FAKE_EVENT);
}
if (!si->pDlg) {
|