interval: Transform values on set, if needed
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 18 Jun 2012 10:07:39 +0000 (11:07 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 18 Jun 2012 16:25:47 +0000 (17:25 +0100)
commita0c620b1576a9d72a4f5dc517169778fadec7fa9
treeb3904693e392f102de49a67877e7bbfd84865d5b
parentb525253c88ed6f0dd57e4397fe11f07760059056
interval: Transform values on set, if needed

It's possible that GValues passed to a ClutterInterval setter are not
of the same type as the interval - for instance, if they come from
language bindings, or from untrusted sources; we can use the same
transformation functions we already use inside ClutterTransition to
ensure that the ClutterInterval always stores values of the same type
used to create the interval itself.
clutter/clutter-interval.c