summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-21 13:56:23 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-21 13:56:23 +0300
commitec8a7614a371f41937dc1dbc2d53289e45706e3a (patch)
treee5937361b3a7ce11eb9b1dbba9debc2d5c1b7339 /src/core
parentd93053e9cca314179eea3fff202a32f8ec74b770 (diff)
static function pfnGetEvent removed from CLIST_INTERFACE
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdfile/src/file.cpp2
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp2
-rw-r--r--src/core/stdmsg/src/tabs.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdfile/src/file.cpp b/src/core/stdfile/src/file.cpp
index 652da6a36c..20e9ba44a9 100644
--- a/src/core/stdfile/src/file.cpp
+++ b/src/core/stdfile/src/file.cpp
@@ -266,7 +266,7 @@ static int SRFileProtoAck(WPARAM, LPARAM lParam)
ACKDATA *ack = (ACKDATA*)lParam;
if (ack->type == ACKTYPE_FILE) {
int iEvent = 0;
- while (CLISTEVENT *cle = g_clistApi.pfnGetEvent(ack->hContact, iEvent++))
+ while (auto *cle = Clist_GetEvent(ack->hContact, iEvent++))
if (cle->lParam == (LPARAM)ack->hProcess)
g_clistApi.pfnRemoveEvent(ack->hContact, cle->hDbEvent);
}
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 22f16ec7c4..63fde09620 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -272,7 +272,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 (g_clistApi.pfnGetEvent(m_hContact, 0))
+ if (Clist_GetEvent(m_hContact, 0))
g_clistApi.pfnRemoveEvent(m_hContact, GC_FAKE_EVENT);
}
else {
diff --git a/src/core/stdmsg/src/tabs.cpp b/src/core/stdmsg/src/tabs.cpp
index fcce849ab8..e6a5d34e93 100644
--- a/src/core/stdmsg/src/tabs.cpp
+++ b/src/core/stdmsg/src/tabs.cpp
@@ -476,7 +476,7 @@ void CTabbedWindow::TabClicked()
if (si->wState & GC_EVENT_HIGHLIGHT) {
si->wState &= ~GC_EVENT_HIGHLIGHT;
- if (g_clistApi.pfnGetEvent(si->hContact, 0))
+ if (Clist_GetEvent(si->hContact, 0))
g_clistApi.pfnRemoveEvent(si->hContact, GC_FAKE_EVENT);
}