Re: Key-value file parser, howto get all groups and create loop from them





----- Original Message ----
From: rupert <rupertt gmail com>
To: Peter Firefly Lund <firefly diku dk>
Cc: gtk-app-devel-list gnome org
Sent: Monday, August 14, 2006 7:53:40 AM
Subject: Re: Key-value file parser, howto get all groups and create loop from them


which gets started here, before the timeout

make_list(treedata.store, treedata.iter, treedata.pixbuf_mapper_yes,
treedata.pixbuf_mapper_no, treedata.pixbuf_mount_yes,
treedata.pixbuf_mount_no);

hope thats the part you are asking for

-Peter


------------

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:

gtk_tree_model_get_iter_first(treedata.store,treedata.iter);

This initializes iter to the beginning of the treemodel.
Then you can call make_list().






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]