Hi

> I wasn't sure about it myself either, but note that g_object_set is
> a va function, so sizeof arguments matters, and I think that  FALSE
> will
> likely evaluate to an int, so if sizeof(int) != sizeof(gboolean) this
> may be an issue, hence the cast. Basically I'm going for better safe
> then
> sorry here.

The GObject testing code itself is not doing this.

http://git.gnome.org/browse/glib/tree/gobject/tests/binding.c#n522

regards
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to