[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 00:18:25 +0000 (UTC)
 
commit 98996510abf32320f2f09bb417cccf7c78faed54
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]