values: Use v_pointer for g_value_set_gtype()
authorBenjamin Otte <otte@redhat.com>
Sun, 1 Jan 2012 20:51:40 +0000 (21:51 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 14 Jan 2012 00:15:16 +0000 (01:15 +0100)
commit9d52243790aa460c228bdcf7ee8e28f78ecd7b13
tree58430c0e9b1fe741ac1b6a7a87793faa32e2c688
parent86cd3018e0c5205707b2db8b9cc8537c2f60678d
values: Use v_pointer for g_value_set_gtype()

... and g_value_get_gtype(). G_TYPE_GTYPE is a pointer type, so it's
values should use the v_pointer member. This is especially true, because
the value collectors from varargs in gvaluecollector.h use that, too.

This should only cause issues when sizeof(glong) != sizeof(gpointer),
and I'm not aware of any such platform. Maybe win64?
gobject/gvaluetypes.c