Re: Key-value file parser, howto get all groups and create loop from them
- From: "Peter \"Firefly\" Lund" <firefly diku dk>
- To: rupert <rupertt gmail com>
- 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 13:58:45 +0200 (CEST)
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.
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.
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".
-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
- 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
- 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]