Conditionally use G_VALUE_COLLECT_INIT() macro
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 25 Feb 2010 10:22:36 +0000 (10:22 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 25 Feb 2010 10:22:36 +0000 (10:22 +0000)
commit26e22b2ede0eb0fdfbe3d96189cb2aa196da83f8
tree88da7bb8c92585010a6983e12e0387b5b251c709
parentbd303d6efb7dfddbdf671f7c66ff5b73bb216f3f
Conditionally use G_VALUE_COLLECT_INIT() macro

GLib 2.24 (but starting from the 2.23.2 unstable release) added a new
macro for collecting GValues from a va_list.

The newly added G_VALUE_COLLECT_INIT() macro should be used in place
of initializing the GValue and calling G_VALUE_COLLECT(), and improves
the collection performances by avoiding multiple checks, free and
initialization calls.
clutter/clutter-animation.c
clutter/clutter-animator.c
clutter/clutter-box.c
clutter/clutter-container.c
clutter/clutter-interval.c
clutter/clutter-layout-manager.c