Fix treelistmodel tests
They were failing to return a reference where they need to. This was uncovered by fixing an unrelated ref leak.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user