script: Use a node when resolving an animation mode
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 8 Feb 2010 15:45:43 +0000 (15:45 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 8 Feb 2010 15:45:43 +0000 (15:45 +0000)
commit09f91ff6eab3d617be88e11bd17c226fa4d23aed
treef48d03c0dd002e93128c63e7b254a88a8c76fcfe
parent4cc269a4687f6ca4fcd88ada134cfa00e2b13a1a
script: Use a node when resolving an animation mode

Instead of taking a string and duplicating the "is it a string or an
integer" check in both Alpha and Animation, the function in
ClutterScript that resolves the animation mode values should take a
JsonNode and do all the checks it needs.
clutter/clutter-alpha.c
clutter/clutter-animation.c
clutter/clutter-script-parser.c
clutter/clutter-script-private.h