WIP: GtkTreeStore * attendu mais l'argument est de type GtkTreeStore. Ma qué ?
This commit is contained in:
parent
3430bd25fe
commit
2f1cd99bfb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue