gridview: Update factories in set_factory
Call update_factories() so the children get their factories properly updated. This matches what GtkListView does.
This commit is contained in:
@@ -1337,6 +1337,8 @@ gtk_grid_view_set_factory (GtkGridView *self,
|
||||
if (!g_set_object (&self->factory, factory))
|
||||
return;
|
||||
|
||||
gtk_grid_view_update_factories (self);
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_FACTORY]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user