[gtk+] tests: Don't add wigets to a GtkInvisible



commit 3ae14630a39545841710ed5bb1a3f5cd8b79b843
Author: Timm Bäder <mail baedert org>
Date:   Sun Oct 30 15:36:26 2016 +0100

    tests: Don't add wigets to a GtkInvisible
    
    It's not a GtkContainer.

 testsuite/gtk/treeview.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/testsuite/gtk/treeview.c b/testsuite/gtk/treeview.c
index 9488cd7..384bb4f 100644
--- a/testsuite/gtk/treeview.c
+++ b/testsuite/gtk/treeview.c
@@ -192,7 +192,8 @@ test_row_separator_height (void)
   gtk_list_store_insert_with_values (store, &iter, 3, 0, "Row content", -1);
   gtk_list_store_insert_with_values (store, &iter, 4, 0, "Row content", -1);
 
-  window = gtk_invisible_new ();
+  /*window = gtk_invisible_new ();*/
+  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
 
   tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
   gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (tree_view),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]