Merge branch 'BUG_gtktreeview_headers_focus_on_click_GTK4' into 'master'

GtkTreeviewColumn: don't focus-on-click header buttons

See merge request GNOME/gtk!1806
This commit is contained in:
Matthias Clasen 2020-09-26 22:50:23 +00:00
commit 92e551f895

View File

@ -850,6 +850,7 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
priv->button = gtk_button_new ();
g_object_ref_sink (priv->button);
gtk_widget_set_focus_on_click (priv->button, FALSE);
g_signal_connect (priv->button, "clicked",
G_CALLBACK (gtk_tree_view_column_button_clicked),