Re: Key-value file parser, howto get all groups and create loop from them
- From: rupert <rupertt gmail com>
- To: "Peter Firefly Lund" <firefly diku dk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Key-value file parser, howto get all groups and create loop from them
- Date: Mon, 14 Aug 2006 14:24:11 +0200
On 8/14/06, Peter Firefly Lund <firefly diku dk> wrote:
On Mon, 14 Aug 2006, rupert wrote:
> void make_list(GtkListStore *store, GtkTreeIter iter, gpointer
> pixbuf_mapper_yes, gpointer pixbuf_mapper_no, gpointer pixbuf_mount_yes,
> gpointer pixbuf_mount_no){
Notice the lack of * in front of the variable iter.
got this fixed, didnt do it the first time, but now does ;)
make_list(treedata.store, treedata.iter, treedata.pixbuf_mapper_yes,
> treedata.pixbuf_mapper_no, treedata.pixbuf_mount_yes,
> treedata.pixbuf_mount_no);
and likewise the lack of & in front of treedata.iter.
dito
hope thats the part you are asking for
It was and it explains the symptoms perfectly :)
Now go and read up on parameter passing in C -- especially how C really
always uses call-by-value and how call-by-reference is only supported by
doing it "manually".
i will try to do...
thx for the hel, with adding the tip lanve gave its working somehow now,
but i had to do some changes:
gtk_tree_model_get_iter_first(treedata->store,&treedata->iter);
i have this line now before make_list and also in the function that updates
the
pixbuf.
Now i have to extract one field from every single line, so that i update the
pixbuf in
each line.
im gratefull for your help, thx.
-Peter
- References:
- Key-value file parser, howto get all groups and create loop from them
- Re: Key-value file parser, howto get all groups and create loop from them
- From: David =?iso-8859-2?B?TmXoYXMgKFlldGkp?=
- Re: Key-value file parser, howto get all groups and create loop from them
- Re: Key-value file parser, howto get all groups and create loop from them
- From: David =?iso-8859-2?B?TmXoYXMgKFlldGkp?=
- Re: Key-value file parser, howto get all groups and create loop from them
- Re: Key-value file parser, howto get all groups and create loop from them
- Re: Key-value file parser, howto get all groups and create loop from them
- Re: Key-value file parser, howto get all groups and create loop from them
- From: Peter \"Firefly\" Lund
- Re: Key-value file parser, howto get all groups and create loop from them
- Re: Key-value file parser, howto get all groups and create loop from them
- From: Peter \"Firefly\" Lund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]