WIP: GtkTreeStore * attendu mais l'argument est de type GtkTreeStore. Ma qué ?

This commit is contained in:
Jean Sirmai 2023-12-18 12:05:25 +01:00
parent 3430bd25fe
commit 2f1cd99bfb
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 3 additions and 3 deletions

View File

@ -209,9 +209,9 @@ do_tree_store (GtkWidget *do_widget)
gtk_box_append (GTK_BOX (vbox), sw);
/* create tree_model */
tree_model = create_model ();
// tree_store = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING);
// tree_model = create_node_recursive ((GtkTreeModel) tree_store, O);
//tree_model = create_model (); // GtkTreeStore *model = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING);
tree_store = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING);
tree_model = create_node_recursive (*tree_store, O);
/* create tree view */
treeview = gtk_tree_view_new_with_model (tree_model);