summaryrefslogtreecommitdiff
path: root/testsuite/gtk/multiselection.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-26 17:34:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-26 17:35:49 -0400
commitb6d908b8aadc763e971aef2c05d7326d3853f0c6 (patch)
treea144a0b3e3ee4906380f7412ee7c89442c127d3c /testsuite/gtk/multiselection.c
parentc659910a83498c64149db40e208df65948140832 (diff)
downloadgtk+-selection-constructors.tar.gz
selectionfiltermodel: Make constructor allow-noneselection-constructors
We don't pay attention to item-type anymore, so drop the item-type property and the _for_item_type() constructor, and allow passing NULL to the regular constructor. We don't make this constructor transfer-full, since the selection filter model is not a wrapping model like the others. It is more like fork than a wrap.
Diffstat (limited to 'testsuite/gtk/multiselection.c')
-rw-r--r--testsuite/gtk/multiselection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/gtk/multiselection.c b/testsuite/gtk/multiselection.c
index 2c23168d07..bbfaa2330f 100644
--- a/testsuite/gtk/multiselection.c
+++ b/testsuite/gtk/multiselection.c
@@ -615,6 +615,7 @@ test_selection_filter (void)
g_object_unref (store);
g_object_unref (selection);
+ g_object_unref (filter);
}
static void