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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed May 12 13:55:59 UTC 2021


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

New commits:
commit 346abdee0c61612c2a7639a7fea28313f8a7742b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 12 13:50:32 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 12 15:55:16 2021 +0200

    gtk[3|4]: drop m_xFrameWeld before gtk_window_destroy invalidates m_pWindow
    
    for gtk4
    
    Change-Id: If9446411bd5dde1ad1b0d5d02bd0354b63f5c3c0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115481
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtkframe.cxx b/vcl/unx/gtk3/gtkframe.cxx
index 10fa515554f4..cb5d57dde23a 100644
--- a/vcl/unx/gtk3/gtkframe.cxx
+++ b/vcl/unx/gtk3/gtkframe.cxx
@@ -726,6 +726,7 @@ GtkSalFrame::~GtkSalFrame()
                 if ( m_nActionGroupExportId )
                     g_dbus_connection_unexport_action_group( pSessionBus, m_nActionGroupExportId );
             }
+            m_xFrameWeld.reset();
 #if !GTK_CHECK_VERSION(4,0,0)
             gtk_widget_destroy( m_pWindow );
 #else


More information about the Libreoffice-commits mailing list