gridview: Drop an incorrect assertion
In the presence of sections, a multi-row tile isn't guaranteed to be rectangular in the sense that it contains MxN items, so don't assert this.
This commit is contained in:
@@ -1068,7 +1068,6 @@ gtk_grid_view_size_allocate (GtkWidget *widget,
|
||||
if (tile->n_items >= self->n_columns && tile->widget == NULL)
|
||||
{
|
||||
g_assert (i == 0);
|
||||
g_assert (tile->n_items % self->n_columns == 0);
|
||||
gtk_list_tile_set_area_size (self->item_manager,
|
||||
tile,
|
||||
column_end (self, xspacing, self->n_columns - 1)
|
||||
|
||||
Reference in New Issue
Block a user