gtk4: need a SolarMutexGuard here

Change-Id: Ia63e1d9f0c53df37f76a4125639084753b5e010c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141020
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2022-10-06 14:31:20 +01:00
parent 7c9bebb868
commit 21f3aebd6e

View file

@ -215,6 +215,7 @@ bool custom_cell_renderer_get_preferred_size(GtkCellRenderer* cell, GtkOrientati
gpointer pWidget = g_value_get_pointer(&value);
if (pWidget)
{
SolarMutexGuard aGuard;
custom_cell_renderer_ensure_device(cellsurface, pWidget);
aSize = custom_cell_renderer_get_size(*cellsurface->device, sId, pWidget);
}