[webkit-dev] Working XPath example via GDOM-Binding

Leon Winter lwi at ring0.de
Tue Jun 9 10:22:37 PDT 2009


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

Leon Winter wrote:
> Next thing interesting thing would be knowing how to set fifth arg
> for gdom_document_evaluate which is an enum that controls the
> output order. As far as I know the enum is not exported via binding
> so at the moment we have to set this value by hand.
>
> Regards, Leon Winter
I forget to mention the console output during execution:

(test:32645): GLib-GObject-CRITICAL **: g_param_spec_double: assertion
`default_value >= minimum && default_value <= maximum' failed

(test:32645): GLib-GObject-CRITICAL **:
g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)'
failed

Anyway its working, but the reason for the errors would be interesting
to know.
By the way the first check in the loop can be skipped (res &&) and was
just an test.

Regards,
Leon Winter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkouml0ACgkQ3qn9m9SfDYeX7wCfTyfzZk77PGd6xdpcaqbuE9wi
BZ8Anj+mReP5P/gv6zCYg/D8xF6QLab5
=ZCk+
-----END PGP SIGNATURE-----



More information about the webkit-dev mailing list