diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c index 1d599a1..b6ad0b4 100644 --- a/demos/gtk-demo/tree_store.c +++ b/demos/gtk-demo/tree_store.c @@ -67,13 +67,12 @@ static TreeItem C[] = {{ "H", H }, { NULL }}; static TreeItem B[] = {{ "E", E }, { "F", F }, { "G", G }, { NULL }}; static TreeItem A[] = {{ "C", C }, { "D", D }, { NULL }}; static TreeItem R[] = {{ "A", A }, { "B", B }, { NULL }}; -static TreeItem O[] = {{ "R", R }, { NULL }}; // Artefact added for symetry +static TreeItem O[] = {{ "R", R }, { NULL }}; // Artefact added for symmetry -// iterate_node(model, item_0, item_1, &iter, &child_iter); static void iterate_node(GtkTreeStore *model, - GtkTreeIter *iter_children, - TreeItem *item_children, - GtkTreeIter *iter_parent) + GtkTreeIter *iter_children, + TreeItem *item_children, + GtkTreeIter *iter_parent) { gtk_tree_store_append (model, iter_children, iter_parent); gtk_tree_store_set (model, iter_children, COLUMN_0, item_children->label, -1);