summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_clistint.h4
-rw-r--r--src/mir_app/src/clc.h4
-rw-r--r--src/mir_app/src/clistcore.cpp1
-rw-r--r--src/mir_app/src/clistevents.cpp2
4 files changed, 3 insertions, 8 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h
index 03c19973a0..7877eb7934 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -397,9 +397,7 @@ struct CLIST_INTERFACE
*************************************************************************************/
CListEvent* (*pfnAddEvent)(CLISTEVENT*);
-
- int (*pfnFreeEvent)(CListEvent *);
- int (*pfnGetImlIconIndex)(HICON hIcon);
+ int (*pfnFreeEvent)(CListEvent *);
/*************************************************************************************
* version 3 additions
diff --git a/src/mir_app/src/clc.h b/src/mir_app/src/clc.h
index 39425f98a6..f5ebfc5e87 100644
--- a/src/mir_app/src/clc.h
+++ b/src/mir_app/src/clc.h
@@ -118,9 +118,7 @@ void RegisterFileDropping(HWND hwnd);
void UnregisterFileDropping(HWND hwnd);
/* clistevents.c */
-struct CListEvent* fnAddEvent(CLISTEVENT *cle);
-
-int fnGetImlIconIndex(HICON hIcon);
+CListEvent* fnAddEvent(CLISTEVENT *cle);
int fnRemoveEvent(CListEvent *pEvent);
int EventsProcessContactDoubleClick(MCONTACT hContact);
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index dfcc6e81e4..99d52d3966 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -100,7 +100,6 @@ void InitClistCore()
g_clistApi.pfnRowHitTest = fnRowHitTest;
g_clistApi.pfnAddEvent = fnAddEvent;
- g_clistApi.pfnGetImlIconIndex = fnGetImlIconIndex;
g_clistApi.pfnFreeEvent = fnRemoveEvent;
g_clistApi.pfnInvalidateDisplayNameCacheEntry = fnInvalidateDisplayNameCacheEntry;
diff --git a/src/mir_app/src/clistevents.cpp b/src/mir_app/src/clistevents.cpp
index b37dede347..a6f391e950 100644
--- a/src/mir_app/src/clistevents.cpp
+++ b/src/mir_app/src/clistevents.cpp
@@ -76,7 +76,7 @@ static const char* GetEventProtocol(const CListEvent &ev)
/////////////////////////////////////////////////////////////////////////////////////////
-int fnGetImlIconIndex(HICON hIcon)
+static int fnGetImlIconIndex(HICON hIcon)
{
auto *p = arImlIcons.find((CListImlIcon*)&hIcon);
if (p != nullptr)