- From: "Brian J. Tarricone" <bjt23 cornell edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_tree_store_set
- Date: Thu, 28 Jul 2005 01:40:01 -0700
-----BEGIN PGP SIGNED MESSAGE-----
The Saltydog wrote:
I am experiencing some problem on gtk_tree_store_set when compiled on
amd64 or powerpc. The segfault I have in such cases is referring to
the fact that the argument list is not ended with -1.
Looking at the gtk+ code, I have found that gtk_tree_store_set is
calling gtk_tree_store_set_valist, but the "terminating argument" in
the va_start funtion is not -1 !!
You misunderstand what "terminating argument" means. The second
argument to va_start() is a pointer to the last "real" argument the
function takes before the variable arguments begin.
Really, did you think it's been incorrect for over three years and no
one's noticed until now?
If you post a section of source code showing what you're trying to do,
we might be able to help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-----END PGP SIGNATURE-----
] [Thread Prev