Ensure values are memset to 0 when calling G_VALUE_COLLECT_INIT()
authorBenjamin Otte <otte@redhat.com>
Mon, 18 Jan 2010 13:03:16 +0000 (14:03 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jan 2010 13:46:55 +0000 (14:46 +0100)
commit914120b9701650ccf7bede1907b69b521ca43236
tree6ce7bc1ecd9ca91516c8890ce07a9f3dfd3848e1
parent956b3b507d03b6d10f8bef34b3775a409c5ba9ee
Ensure values are memset to 0 when calling G_VALUE_COLLECT_INIT()

The reason we need to enforce this is that the GTypeValueTable
documentation explicitly states that memory is memset to 0 when the
value_init function is called.

https://bugzilla.gnome.org/show_bug.cgi?id=603590
gobject/gobject.c
gobject/gsignal.c
gobject/gvaluecollector.h