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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 24 19:43:29 UTC 2021


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

New commits:
commit 31eed60da71f42fe232be1c4877056c0dc9f777a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 24 10:31:26 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 24 21:42:40 2021 +0200

    gtk4: unhighlight the parent like gtk3
    
    Change-Id: I47a7a6f8e42d9032a9acfdda9376ef05e30e3e73
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117771
    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 5dc65ef79c3c..31c9528af0be 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -15044,7 +15044,7 @@ public:
             GtkWidget* pWidget = GTK_WIDGET(m_pTreeView);
             GtkWidget* pParent = gtk_widget_get_parent(pWidget);
 #if GTK_CHECK_VERSION(4, 0, 0)
-            gtk_widget_unset_state_flags(pWidget, GTK_STATE_FLAG_DROP_ACTIVE);
+            gtk_widget_unset_state_flags(pParent, GTK_STATE_FLAG_DROP_ACTIVE);
 #else
             gtk_drag_unhighlight(pParent);
 #endif


More information about the Libreoffice-commits mailing list