mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
columview: Fix cell creation
We were getting lost in the columnview internal structure here. The rows are children of the listview, not of the columnview itself.
This commit is contained in:
parent
3141eaecd0
commit
55936087e0
@ -519,12 +519,14 @@ gtk_column_view_column_get_allocation (GtkColumnViewColumn *self,
|
||||
static void
|
||||
gtk_column_view_column_create_cells (GtkColumnViewColumn *self)
|
||||
{
|
||||
GtkListView *list;
|
||||
GtkWidget *row;
|
||||
|
||||
if (self->first_cell)
|
||||
return;
|
||||
|
||||
for (row = gtk_widget_get_first_child (GTK_WIDGET (self->view));
|
||||
list = gtk_column_view_get_list_view (GTK_COLUMN_VIEW (self->view));
|
||||
for (row = gtk_widget_get_first_child (GTK_WIDGET (list));
|
||||
row != NULL;
|
||||
row = gtk_widget_get_next_sibling (row))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user