summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/src/popup.cpp')
-rw-r--r--plugins/NewEventNotify/src/popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp
index cfb40947b7..c0218bf43d 100644
--- a/plugins/NewEventNotify/src/popup.cpp
+++ b/plugins/NewEventNotify/src/popup.cpp
@@ -63,7 +63,7 @@ int PopupAct(HWND hWnd, UINT mask, PLUGIN_DATA *pdata)
MEVENT hEvent = pdata->events[0];
for (int idx = 0;; idx++) {
- CLISTEVENT *cle = g_clistApi.pfnGetEvent(pdata->hContact, idx);
+ auto *cle = Clist_GetEvent(pdata->hContact, idx);
if (cle == nullptr) {
CallFunctionSync(DoDefaultHandling, pdata);
break;