From 9af11cd3eecbfb6e524623b6304fcacfe77bbfff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jul 2016 07:42:30 +0000 Subject: non-redefined function pfnClcBroadcast made static -> Clist_Broadcast also its async variant created and published as Clist_BroadcastAsync git-svn-id: http://svn.miranda-ng.org/main/trunk@17108 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_viewmodebar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_modern/src/modern_viewmodebar.cpp') diff --git a/plugins/Clist_modern/src/modern_viewmodebar.cpp b/plugins/Clist_modern/src/modern_viewmodebar.cpp index 4e9b144911..0afc589a10 100644 --- a/plugins/Clist_modern/src/modern_viewmodebar.cpp +++ b/plugins/Clist_modern/src/modern_viewmodebar.cpp @@ -625,7 +625,7 @@ void DeleteViewMode(char * szName) if (!mir_strcmp(g_CluiData.current_viewmode, szName) && mir_strlen(szName) == mir_strlen(g_CluiData.current_viewmode)) { g_CluiData.bFilterEffective = 0; - pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0); + Clist_Broadcast(CLM_AUTOREBUILD, 0, 0); SetWindowText(hwndSelector, TranslateT("All contacts")); } @@ -1242,7 +1242,7 @@ void ApplyViewMode(const char *Name, bool onlySelector) if (g_CluiData.bOldUseGroups != (BYTE)-1) CallService(MS_CLIST_SETUSEGROUPS, (WPARAM)g_CluiData.bOldUseGroups, 0); - pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0); + Clist_Broadcast(CLM_AUTOREBUILD, 0, 0); KillTimer(g_hwndViewModeFrame, TIMERID_VIEWMODEEXPIRE); SetDlgItemText(g_hwndViewModeFrame, IDC_SELECTMODE, TranslateT("All contacts")); if (g_CluiData.boldHideOffline != (BYTE)-1) @@ -1362,7 +1362,7 @@ void ApplyViewMode(const char *Name, bool onlySelector) SetWindowText(hwndSelector, ptrT(mir_utf8decodeW((Name[0] == 13) ? Name + 1 : Name))); - pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0); + Clist_Broadcast(CLM_AUTOREBUILD, 0, 0); cliInvalidateRect(pcli->hwndStatus, NULL, FALSE); } -- cgit v1.2.3