diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-28 10:41:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-28 13:26:34 +0200 |
commit | 456244d885be8f66024cfc91dce56baec97d556d (patch) | |
tree | 0552a3dc976cb35423733ba20e7d670456a75378 /vcl | |
parent | d647a91ac1a0f8f230dc1cbf141f1ded2cc367f2 (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.cxx | 1 |
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 |