From 21f3aebd6ea00d9cc344b46049b8097ad988401b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 6 Oct 2022 14:31:20 +0100 Subject: [PATCH] gtk4: need a SolarMutexGuard here MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia63e1d9f0c53df37f76a4125639084753b5e010c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141020 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- vcl/unx/gtk3/customcellrenderer.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/vcl/unx/gtk3/customcellrenderer.cxx b/vcl/unx/gtk3/customcellrenderer.cxx index ac786541f004..c7c6661ed912 100644 --- a/vcl/unx/gtk3/customcellrenderer.cxx +++ b/vcl/unx/gtk3/customcellrenderer.cxx @@ -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); }