summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-23 21:53:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-23 21:53:39 +0300
commit695277eb06da17fed42782c43dc11f1e55653600 (patch)
tree9e6c876aa175cbe0aa6b479f9ea9f602e1f199e6 /src
parent46d42a53854b0745f952f88d330a0b7bfbfa4a1d (diff)
compilation fix
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clcutils.cpp2
-rw-r--r--src/mir_app/src/clistcore.cpp5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp
index 34a012ae34..33b86e60e5 100644
--- a/src/mir_app/src/clcutils.cpp
+++ b/src/mir_app/src/clcutils.cpp
@@ -297,6 +297,8 @@ MIR_APP_DLL(void) Clist_SetGroupExpand(HWND hwnd, ClcData *dat, ClcGroup *group,
group->bExpanded = newState != 0;
}
+ g_clistApi.pfnOnGroupExpanded(dat, group);
+
g_clistApi.pfnInvalidateRect(hwnd, nullptr, FALSE);
int contentCount = g_clistApi.pfnGetGroupContentsCount(group, 1);
int groupy = g_clistApi.pfnGetRowsPriorTo(&dat->list, group, -1);
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index 77800b9113..297851d52d 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -56,6 +56,10 @@ static int fnIsVisibleContact(ClcCacheEntry*, ClcGroup*)
return false;
}
+static void fnOnGroupExpanded(ClcData *, ClcGroup *)
+{
+}
+
void InitClistCore()
{
g_clistApi.menuProtos = &g_menuProtos;
@@ -129,6 +133,7 @@ void InitClistCore()
g_clistApi.pfnTrayCalcChanged = fnTrayCalcChanged;
g_clistApi.pfnSetContactCheckboxes = fnSetContactCheckboxes;
+ g_clistApi.pfnOnGroupExpanded = fnOnGroupExpanded;
}
MIR_APP_DLL(CLIST_INTERFACE*) Clist_GetInterface(void)