Commit acabdafb authored by Matthias Clasen's avatar Matthias Clasen

Fix treelistmodel tests

They were failing to return a reference where they
need to. This was uncovered by fixing an unrelated
ref leak.
parent 168c1f44
Pipeline #135788 passed with stages
in 19 minutes and 48 seconds
......@@ -158,7 +158,7 @@ create_sub_model_cb (gpointer item,
gpointer unused)
if (G_IS_LIST_MODEL (item))
return item;
return g_object_ref (item);
return NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment