diff options
author | George Hazan <george.hazan@gmail.com> | 2023-05-22 18:44:59 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-05-22 18:44:59 +0300 |
commit | 05165317940d1c2fcb2b089e2fbf5f9bf6246f8e (patch) | |
tree | 3249fa31ed6325e4a50e41728fb00d563478e1f5 /src/mir_app | |
parent | 13c6dada03a1c6eb503d26c340acc15c14851a85 (diff) |
unused function removed from CLIST_INTERFACE
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/clc.h | 4 | ||||
-rw-r--r-- | src/mir_app/src/clistcore.cpp | 1 | ||||
-rw-r--r-- | src/mir_app/src/clistevents.cpp | 2 |
3 files changed, 2 insertions, 5 deletions
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)
|