transition: Use current values if no interval is defined
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 8 Jun 2012 13:24:57 +0000 (14:24 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 8 Jun 2012 13:33:01 +0000 (14:33 +0100)
commit7660f5d0c60bf7de39f8ed0ea4ab07e1dc630a59
tree3fd728e9693445a8daf2caea6e27f067aca250b3
parent189a93677f0d0c710b3692fe88258a2675fd6f5c
transition: Use current values if no interval is defined

Once a ClutterPropertyTransition is attached to a ClutterAnimatable, if
no interval is set we can simply use the current state of the property
to define the from and to values. This allows the creation of property
transitions from the current state of the Animatable instance without
excessive verbosity.
clutter/clutter-property-transition.c
clutter/clutter-transition.c