animator: Allow retrieving type property type from a key
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 8 Feb 2010 15:47:46 +0000 (15:47 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 8 Feb 2010 15:47:46 +0000 (15:47 +0000)
commit790a13c0d9d2249747cfb81dcb13f83c6cc2cec1
tree47d7ea455849a424eed1bb20fd73d313c48b6af2
parent09f91ff6eab3d617be88e11bd17c226fa4d23aed
animator: Allow retrieving type property type from a key

When asking a key for its target value we also ask the developer to pass
in an initialized GValue - but we don't make it easy to know the type of
the GValue. A developer has to ask the GObject class for the GParamSpec
and then initialize the GValue, instead.

Since we know the type of the GValue we should provide a getter for it.

We should also allow developers to throw at us GValue with compatible and
transformable types.

Finally, all the accessors should be constified.
clutter/clutter-animator.c
clutter/clutter-animator.h