summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_modern/src/init.cpp1
-rw-r--r--plugins/Clist_modern/src/modern_clistevents.cpp6
-rw-r--r--plugins/Clist_modern/src/modern_commonprototypes.h1
-rw-r--r--plugins/Clist_nicer/src/clistevents.cpp9
-rw-r--r--plugins/Clist_nicer/src/init.cpp2
5 files changed, 0 insertions, 19 deletions
diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp
index e1b72f12d1..1cf1580f90 100644
--- a/plugins/Clist_modern/src/init.cpp
+++ b/plugins/Clist_modern/src/init.cpp
@@ -171,7 +171,6 @@ static HRESULT SubclassClistInterface()
pcli->pfnGetRowByIndex = cliGetRowByIndex;
pcli->pfnGetRowsPriorTo = cliGetRowsPriorTo;
pcli->pfnGetGroupContentsCount = cliGetGroupContentsCount;
- pcli->pfnCreateEvent = cliCreateEvent;
pcli->pfnFindRowByText = cliFindRowByText;
//partialy overloaded - call default handlers from inside
diff --git a/plugins/Clist_modern/src/modern_clistevents.cpp b/plugins/Clist_modern/src/modern_clistevents.cpp
index 6ea11cdc73..d5b92c3624 100644
--- a/plugins/Clist_modern/src/modern_clistevents.cpp
+++ b/plugins/Clist_modern/src/modern_clistevents.cpp
@@ -83,12 +83,6 @@ static CLISTEVENT* MyGetEvent(int iSelection)
}
-CListEvent* cliCreateEvent(void)
-{
- CListEvent *p = (CListEvent *)mir_calloc(sizeof(CListEvent));
- return p;
-}
-
CListEvent* cli_AddEvent(CLISTEVENT *cle)
{
CListEvent* p = corecli.pfnAddEvent(cle);
diff --git a/plugins/Clist_modern/src/modern_commonprototypes.h b/plugins/Clist_modern/src/modern_commonprototypes.h
index 4e7833944c..150d69d9a2 100644
--- a/plugins/Clist_modern/src/modern_commonprototypes.h
+++ b/plugins/Clist_modern/src/modern_commonprototypes.h
@@ -270,7 +270,6 @@ TCHAR* cli_GetGroupCountsText(ClcData *dat, ClcContact *contact);
void cli_ChangeContactIcon(MCONTACT hContact, int iIcon, int add);
void cli_SetContactCheckboxes(ClcContact*, int);
LRESULT cli_ProcessExternalMessages(HWND hwnd, ClcData *dat, UINT msg, WPARAM wParam, LPARAM lParam);
-CListEvent* cliCreateEvent(void);
CListEvent* cli_AddEvent(CLISTEVENT *cle);
LRESULT CALLBACK cli_ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
int cliShowHide(WPARAM wParam, LPARAM lParam);
diff --git a/plugins/Clist_nicer/src/clistevents.cpp b/plugins/Clist_nicer/src/clistevents.cpp
index 5e87211e03..751964edb2 100644
--- a/plugins/Clist_nicer/src/clistevents.cpp
+++ b/plugins/Clist_nicer/src/clistevents.cpp
@@ -45,15 +45,6 @@ extern HIMAGELIST hCListImages;
HANDLE hNotifyFrame = (HANDLE)-1;
-CListEvent* fnCreateEvent(void)
-{
- CListEvent *p = reinterpret_cast<CListEvent *>(mir_alloc(sizeof(CListEvent)));
- if (p)
- memset(p, 0, sizeof(CListEvent));
-
- return p;
-}
-
void HideShowNotifyFrame()
{
int dwVisible = CallService(MS_CLIST_FRAMES_GETFRAMEOPTIONS, MAKEWPARAM(FO_FLAGS, hNotifyFrame), 0) & F_VISIBLE;
diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp
index 452676eefb..be03a06270 100644
--- a/plugins/Clist_nicer/src/init.cpp
+++ b/plugins/Clist_nicer/src/init.cpp
@@ -40,7 +40,6 @@ extern int Docking_ProcessWindowMessage(WPARAM wParam, LPARAM lParam);
extern int SetHideOffline(WPARAM wParam, LPARAM lParam);
ClcContact *CreateClcContact(void);
-CListEvent *fnCreateEvent(void);
void ReloadThemedOptions();
int TrayCalcChanged(const char *szChangedProto, int averageMode, int iProtoCount);
void LoadButtonModule();
@@ -194,7 +193,6 @@ extern "C" int __declspec(dllexport) CListInitialise()
pcli->pfnCluiProtocolStatusChanged = CluiProtocolStatusChanged;
pcli->pfnCompareContacts = CompareContacts;
pcli->pfnCreateClcContact = CreateClcContact;
- pcli->pfnCreateEvent = fnCreateEvent;
pcli->pfnDocking_ProcessWindowMessage = Docking_ProcessWindowMessage;
pcli->pfnGetDefaultFontSetting = GetDefaultFontSetting;
pcli->pfnGetRowBottomY = RowHeight::getItemBottomY;