WIP: What the f...? Quand les iterateurs sont-ils egaux aux items ?!
This commit is contained in:
parent
7efd6ee795
commit
3b5b5585d5
|
@ -74,9 +74,12 @@ iterate_node(GtkTreeStore *model,
|
||||||
TreeItem *item_parent, TreeItem *item_children,
|
TreeItem *item_parent, TreeItem *item_children,
|
||||||
GtkTreeIter *iter_parent, GtkTreeIter *iter_children)
|
GtkTreeIter *iter_parent, GtkTreeIter *iter_children)
|
||||||
{
|
{
|
||||||
printf("parent, children : %s -> %s\n", item_parent->label, item_children->label);
|
printf("parent, children : %s -> %s %p -> %p %p -> %p\n",\
|
||||||
/* gtk_tree_store_append (model, &child_child_iter, &child_iter); */
|
item_parent->label, item_children->label,\
|
||||||
/* gtk_tree_store_set (model, &child_child_iter, COLUMN_0, item_2->label, -1); */
|
iter_parent, iter_children,
|
||||||
|
&iter_parent, &iter_children);
|
||||||
|
/* gtk_tree_store_append (model, &iter_children, &iter_parent); */
|
||||||
|
/* gtk_tree_store_set (model, &iter_children, COLUMN_0, item_children->label, -1); */
|
||||||
return GTK_TREE_MODEL (model);
|
return GTK_TREE_MODEL (model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue