Hi Peter, > Well...in the code snippets you posted, the GtkTreeIter iter that > you pass to add_to_node isn't initialized. Was that done > elsewhere?
sorry, without this initialize I was getting a segfault :S ... in fact, i'm doing something like this : (...populating the tree...) for (list = history_list->history, i = 0; list ; list = list->next, i++) { GtkTreeStore *store = GTK_TREE_STORE (gtk_tree_view_get_model(GTK_TREE_VIEW(tree))); gtk_tree_store_append(store, iter, NULL); add_to_node(history_list, &iter, dialog_widgets->tree, i); } (...) no segfault occur ... but, is this enough to initialize it (iter) ?! thanks and best regards -- Antonio Gomes E-mail: [EMAIL PROTECTED] Embedded Linux Lab - 10LE INdT - Instituto Nokia de Tecnologia (Manaus/Br) NOKIA's Technology Institute _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list