projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af8f92
)
Merge branch 'gridview-filler-tile-fix' into 'main'
author
Benjamin Otte
<otte.benjamin@googlemail.com>
Thu, 16 Mar 2023 23:50:13 +0000
(23:50 +0000)
committer
Benjamin Otte
<otte.benjamin@googlemail.com>
Thu, 16 Mar 2023 23:50:28 +0000
(19:50 -0400)
gridview: Fix condition for adding filler tiles
See merge request GNOME/gtk!5664
(cherry picked from commit
565c9aed946e5e4cd39e5c90a8352dc3607a0188
)
65b6150e
gridview: Fix condition for adding filler tiles
gtk/gtkgridview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgridview.c
b/gtk/gtkgridview.c
index 41ea645125a560b337551055708d57af5dcecfdb..76f2e26e002c61d8d95b0c345f72ed088f0fef96 100644
(file)
--- a/
gtk/gtkgridview.c
+++ b/
gtk/gtkgridview.c
@@
-820,7
+820,7
@@
gtk_grid_view_size_allocate (GtkWidget *widget,
}
}
/* Add a filler tile for empty space in the bottom right */
- if (i
< self->n_columns
)
+ if (i
> 0
)
{
GtkListTile *filler;
tile = gtk_list_item_manager_get_last (self->item_manager);