script-parser: Allow initialized GValue arg in clutter_script_parse_node
authorBastian Winkler <buz@netbuz.org>
Wed, 12 Jan 2011 12:09:52 +0000 (13:09 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 21 Jan 2011 20:44:16 +0000 (20:44 +0000)
commit95b3a718ef5c08f058e2bf0e3e56df390408821f
tree0c3e7702560e054bae34d4e45d4db03d9cf35380
parent8e1c1909f80b4513154a3dfd8980160f94ec036f
script-parser: Allow initialized GValue arg in clutter_script_parse_node

Allow to 'abuse' the clutter_script_parse_node function by calling it
with an initialized GValue instead of a valid GParamSpec argument to
obtain the correct typed value from the json node.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2528
clutter/clutter-script-parser.c