[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 28 11:27:10 UTC 2021


 vcl/unx/gtk3/gtkinst.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 456244d885be8f66024cfc91dce56baec97d556d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jun 28 10:41:05 2021 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at 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


More information about the Libreoffice-commits mailing list