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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to