state: added clutter_state_key_get_property_type

A function to retrieve the type of the value stored in a key, the
equivalent already exists for ClutterAnimator.
This commit is contained in:
Øyvind Kolås
2010-07-06 13:47:49 +01:00
parent 6d1f697bc4
commit ec05230b97
3 changed files with 32 additions and 8 deletions

View File

@ -148,6 +148,7 @@ gdouble clutter_state_key_get_post_delay (const ClutterStat
gulong clutter_state_key_get_mode (const ClutterStateKey *state_key);
void clutter_state_key_get_value (const ClutterStateKey *state_key,
GValue *value);
GType clutter_state_key_get_property_type (const ClutterStateKey *key);
GObject * clutter_state_key_get_object (const ClutterStateKey *state_key);
G_CONST_RETURN gchar *clutter_state_key_get_property_name (const ClutterStateKey *state_key);
G_CONST_RETURN gchar *clutter_state_key_get_source_state_name (const ClutterStateKey *state_key);