summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-28 10:41:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-28 13:26:34 +0200
commit456244d885be8f66024cfc91dce56baec97d556d (patch)
tree0552a3dc976cb35423733ba20e7d670456a75378 /vcl
parentd647a91ac1a0f8f230dc1cbf141f1ded2cc367f2 (diff)
gtk4: protect signal_selected with SolarMutex
Change-Id: Ie296e3f64607bfc00dbedb204f09be97b143892e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118003 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 95d98aff0a59..9e00cd6d62b3 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -9745,6 +9745,7 @@ public:
const gchar* pStr = g_variant_get_string(pParameter, &nLength);
OString aStr(pStr, nLength);
GtkInstanceMenuButton* pThis = static_cast<GtkInstanceMenuButton*>(widget);
+ SolarMutexGuard aGuard;
pThis->signal_selected(aStr);
}
#else