forked from AuroraMiddleware/gtk
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