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:
Matthias Clasen
2023-05-20 11:35:31 -04:00
parent 1d4f383ba5
commit 48e49b4c50

View File

@@ -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]);
}