Re: gtk_tree_store_set



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

        -brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC6Jnh6XyW6VEeAnsRAhpwAJ4liIErAxVI9twM8bi7or+Bwnck5gCfaZGz
5EoelAx3ZMJ6dSFueBfhozI=
=GtGe
-----END PGP SIGNATURE-----



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