[gtk/wip/otte/lottie: 2/17] tests: Fix for new tranfer behavior of constructors
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/lottie: 2/17] tests: Fix for new tranfer behavior of constructors
- Date: Tue, 17 Nov 2020 01:35:52 +0000 (UTC)
commit 38380c3d675414c06df57fb120a7bdf7f7a36817
Author: Benjamin Otte <otte redhat com>
Date: Sun Nov 8 15:42:11 2020 +0100
tests: Fix for new tranfer behavior of constructors
We were still unreffing a listmodel where the reference wasn't ours
anymore.
tests/testcolumnview.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/tests/testcolumnview.c b/tests/testcolumnview.c
index 04f09f1ee5..79b1740cb8 100644
--- a/tests/testcolumnview.c
+++ b/tests/testcolumnview.c
@@ -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))));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]