(I hate yahoo's quoting).... ----- Original Message ---- From: "Peter "Firefly" Lund" <[EMAIL PROTECTED]> To: Lance Dillon <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Monday, August 14, 2006 8:07:43 AM Subject: Re: Key-value file parser, howto get all groups and create loop from them
On Mon, 14 Aug 2006, Lance Dillon wrote: > The problem is your code doesn't seem to initialize iter in any way. > Before you call make_list, you should probably do something like this: No, no. make_list() by itself is fine. It sets its local iter in every iteration through the call to gtk_list_store_append(). --- Okay, I see that.. ---- But actually, the real question is: why keep a global iterator around in the first place? ---- I agree. Iterators (both tree and text) get invalidated often, and they only seem to be valid if you use before making any other changes. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list