From 80bdbb8985d0495453a123a1938537c8090ca948 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Apr 2018 21:55:25 +0300 Subject: all unused CLIST_INTERFACE members dropped (requires new history++) --- plugins/Clist_nicer/src/extBackg.cpp | 2 +- plugins/ExternalAPI/m_cln_skinedit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/Clist_nicer/src/extBackg.cpp b/plugins/Clist_nicer/src/extBackg.cpp index f9b5b457d1..83064a0ccc 100644 --- a/plugins/Clist_nicer/src/extBackg.cpp +++ b/plugins/Clist_nicer/src/extBackg.cpp @@ -1653,7 +1653,7 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara sd.pfnSaveCompleteStruct = SaveCompleteStructToDB; sd.lastItem = ID_STATUS_OFFLINE + arStatusItems.getCount(); sd.firstItem = ID_STATUS_OFFLINE; - sd.pfnClcOptionsChanged = Clist_ClcOptionsChanged; + sd.pfnClcOptionsChanged = &Clist_ClcOptionsChanged; sd.hwndCLUI = pcli->hwndContactList; hwndSkinEdit = (HWND)CallService(MS_CLNSE_INVOKE, 0, (LPARAM)&sd); } diff --git a/plugins/ExternalAPI/m_cln_skinedit.h b/plugins/ExternalAPI/m_cln_skinedit.h index c5c9d49585..0255c98080 100644 --- a/plugins/ExternalAPI/m_cln_skinedit.h +++ b/plugins/ExternalAPI/m_cln_skinedit.h @@ -104,7 +104,7 @@ typedef struct _tagSkinDescription { HWND hwndImageEdit; /* out param */ HMENU hMenuItems; void (*pfnSaveCompleteStruct)(void); - void (*pfnClcOptionsChanged )(void); + void (CALLBACK *pfnClcOptionsChanged )(void); void* (*pfnMalloc)(unsigned int); void (*pfnFree)(void); void* (*pfnRealloc)(void *, unsigned int); -- cgit v1.2.3