vcl/unx/gtk3/gtkinst.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 456244d885be8f66024cfc91dce56baec97d556d Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jun 28 10:41:05 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jun 28 13:26:34 2021 +0200
gtk4: protect signal_selected with SolarMutex Change-Id: Ie296e3f64607bfc00dbedb204f09be97b143892e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118003 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits