diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 15:55:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 18:04:40 -0400 |
commit | 706d464ae6d5d3f120a2fb22932f49e07f034545 (patch) | |
tree | ee83c7c846d07ea6c5a1c7797d9ba6a37605a26d /demos/constraint-editor | |
parent | b6d9f3facbb73417beb1a0388d31a989fcd8cf14 (diff) | |
download | gtk+-706d464ae6d5d3f120a2fb22932f49e07f034545.tar.gz |
filterlistmodel: Make constructor transfer full
This is for consistency with other wrapping list constructors.
We want them all to be transfer full, allow-none.
Update all callers.
Diffstat (limited to 'demos/constraint-editor')
-rw-r--r-- | demos/constraint-editor/constraint-view.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/demos/constraint-editor/constraint-view.c b/demos/constraint-editor/constraint-view.c index a3fbd447bf..5c66bf9d41 100644 --- a/demos/constraint-editor/constraint-view.c +++ b/demos/constraint-editor/constraint-view.c @@ -179,14 +179,10 @@ constraint_view_init (ConstraintView *self) all_constraints = gtk_constraint_layout_observe_constraints (GTK_CONSTRAINT_LAYOUT (manager)); filter = gtk_custom_filter_new (omit_internal, NULL, NULL); constraints = (GListModel *)gtk_filter_list_model_new (all_constraints, filter); - g_object_unref (filter); - g_object_unref (all_constraints); all_children = gtk_widget_observe_children (GTK_WIDGET (self)); filter = gtk_custom_filter_new (omit_internal, NULL, NULL); children = (GListModel *)gtk_filter_list_model_new (all_children, filter); - g_object_unref (filter); - g_object_unref (all_children); list = g_list_store_new (G_TYPE_LIST_MODEL); g_list_store_append (list, children); |