summaryrefslogtreecommitdiff
path: root/tests/testlistview-animating.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-26 16:25:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-26 18:04:40 -0400
commita46cfd3ff4120c377900374ed660e7299e380914 (patch)
tree45ace17b11f35231ac13640dc92bce313211ed97 /tests/testlistview-animating.c
parent706d464ae6d5d3f120a2fb22932f49e07f034545 (diff)
downloadgtk+-a46cfd3ff4120c377900374ed660e7299e380914.tar.gz
sortlistmodel: 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 'tests/testlistview-animating.c')
-rw-r--r--tests/testlistview-animating.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testlistview-animating.c b/tests/testlistview-animating.c
index d824118d78..7902948ab2 100644
--- a/tests/testlistview-animating.c
+++ b/tests/testlistview-animating.c
@@ -127,7 +127,6 @@ main (int argc,
add (store);
sorter = gtk_numeric_sorter_new (gtk_cclosure_expression_new (G_TYPE_UINT, NULL, 0, NULL, (GCallback)get_number, NULL, NULL));
sort = gtk_sort_list_model_new (G_LIST_MODEL (store), sorter);
- g_object_unref (sorter);
win = gtk_window_new ();
gtk_window_set_default_size (GTK_WINDOW (win), 400, 600);
@@ -182,7 +181,5 @@ main (int argc,
while (g_list_model_get_n_items (toplevels))
g_main_context_iteration (NULL, TRUE);
- g_object_unref (store);
-
return 0;
}