diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 16:25:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 18:04:40 -0400 |
commit | a46cfd3ff4120c377900374ed660e7299e380914 (patch) | |
tree | 45ace17b11f35231ac13640dc92bce313211ed97 /tests/testlistview-animating.c | |
parent | 706d464ae6d5d3f120a2fb22932f49e07f034545 (diff) | |
download | gtk+-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.c | 3 |
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; } |