tests: Fix for new tranfer behavior of constructors

We were still unreffing a listmodel where the reference wasn't ours
anymore.
This commit is contained in:
Benjamin Otte 2020-11-08 15:42:11 +01:00
parent 8fd1530848
commit eded9459df

View File

@ -771,8 +771,6 @@ main (int argc, char *argv[])
update_statusbar (GTK_STATUSBAR (statusbar));
gtk_box_append (GTK_BOX (vbox), statusbar);
g_object_unref (filter);
list = gtk_list_view_new (
GTK_SELECTION_MODEL (gtk_single_selection_new (g_object_ref (gtk_column_view_get_columns (GTK_COLUMN_VIEW (view))))),
gtk_builder_list_item_factory_new_from_bytes (scope, g_bytes_new_static (factory_ui, strlen (factory_ui))));