mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
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:
parent
8fd1530848
commit
eded9459df
@ -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))));
|
||||
|
Loading…
Reference in New Issue
Block a user