2007/7/28, Xan <xan lopez gmail com>:
On 7/28/07, rick <rick_murphy sohu com> wrote:
> Hi
> first, let's compare two pieces of codes:
>
> No.1
> {
> GtkTreeIter* iter;
> gtk_tree_store_append(store, iter, parent);
> gtk_tree_store_set(store, iter, COLUMN_NAME, node->name,
> COLUMN_TYPE, node->content, -1);
> }
iter is pointing to garbage, it's normal that the program crashes when
it tries to use that memory. This list is for the development of GTK+
itself, for questions about development with GTK+ please use
http://mail.gnome.org/mailman/listinfo/gtk-list
If so many people enter here by accident, wouldn't be easier to find a better name for the list to avoid confusion?
Xan
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list