diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c index d64eeeb..23885b2 100644 --- a/demos/gtk-demo/tree_store.c +++ b/demos/gtk-demo/tree_store.c @@ -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);