summaryrefslogtreecommitdiff
path: root/testsuite/gtk/treesorter.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 /testsuite/gtk/treesorter.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 'testsuite/gtk/treesorter.c')
-rw-r--r--testsuite/gtk/treesorter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/testsuite/gtk/treesorter.c b/testsuite/gtk/treesorter.c
index 59a32b5e25..73bdb4c9ae 100644
--- a/testsuite/gtk/treesorter.c
+++ b/testsuite/gtk/treesorter.c
@@ -179,9 +179,7 @@ test_simple (void)
sort = gtk_sort_list_model_new (model, sorter);
assert_model (sort, "1 2 21 3 31 32 321");
- g_object_unref (sorter);
g_object_unref (sort);
- g_object_unref (model);
}
static GtkSorter *