[gtk/resizing-fixes] Revert "gridview: Work around unexpected focus changes"



commit 572a5158ed07f63b14efcb27d76c60e0ac13ef66
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 7 22:57:16 2020 -0400

    Revert "gridview: Work around unexpected focus changes"
    
    This reverts commit c13d70479bfa223d44c21c16cf8a071e85d8e726.

 gtk/gtkgridview.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkgridview.c b/gtk/gtkgridview.c
index a945683b03..ecbb741f8f 100644
--- a/gtk/gtkgridview.c
+++ b/gtk/gtkgridview.c
@@ -1167,7 +1167,6 @@ gtk_grid_view_init (GtkGridView *self)
 
   self->min_columns = 1;
   self->max_columns = DEFAULT_MAX_COLUMNS;
-  self->n_columns = 1;
 
   gtk_list_base_set_anchor_max_widgets (GTK_LIST_BASE (self),
                                         self->max_columns * GTK_GRID_VIEW_MAX_VISIBLE_ROWS,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]