gvaluecollector: Add variant of G_VALUE_COLLECT for most used cases.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 2 Dec 2009 10:48:18 +0000 (11:48 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 13 Jan 2010 09:16:46 +0000 (10:16 +0100)
commit546fc0ca331c8d1b3393fe218a697b6a1a1c1072
treee98f69d8f29c367a5b7e3c8a09908949ac3fad06
parent3bb404f13329dbd6c67f777e5a6d9228716ab440
gvaluecollector: Add variant of G_VALUE_COLLECT for most used cases.

Most callers of G_VALUE_COLLECT previously had to initialize the GValue
and then G_VALUE_COLLECT would still go through a cleanup phase.

The new variant allows passing a unitialized GValue along with a GType
and speedup the initialization/collection process.

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