diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c index 0bee4e7..16506b7 100644 --- a/demos/gtk-demo/tree_store.c +++ b/demos/gtk-demo/tree_store.c @@ -54,7 +54,7 @@ enum COLUMN_1, VISIBLE_COLUMN, - WORLD_COLUMN, +// WORLD_COLUMN, NUM_COLUMNS }; @@ -117,7 +117,7 @@ create_model (void) COLUMN_0, item_0->label, COLUMN_1, FALSE, VISIBLE_COLUMN, FALSE, - WORLD_COLUMN, FALSE, + // WORLD_COLUMN, FALSE, -1); /* add children */ @@ -130,7 +130,7 @@ create_model (void) COLUMN_0, item_1->label, COLUMN_1, item_1->AA, VISIBLE_COLUMN, TRUE, - WORLD_COLUMN, item_1->CC, + // WORLD_COLUMN, item_1->CC, -1); item_1++; @@ -153,7 +153,7 @@ add_columns (GtkTreeView *treeview) renderer = gtk_cell_renderer_text_new (); g_object_set (renderer, "xalign", 0.0, NULL); gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (treeview), -1, - "Col 1", renderer, "active", COLUMN_1, NULL); + "Col 1", renderer, "text", COLUMN_1, NULL); } GtkWidget *