summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2011-10-05 22:03:25 +0200
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-10-07 12:17:52 +0100
commitc5b363ac30d7e1222de8b20a0a1759929052d678 (patch)
treec0829b2a7c28b6c11c78ce75cb388b04ce24e55d
parentba1964e16e0da1eb69f9eb67dc4d335d3f1a5ce0 (diff)
downloadclutter-c5b363ac30d7e1222de8b20a0a1759929052d678.tar.gz
Mark clutter_state_set_key() source_state_name as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=661022 (cherry picked from commit 6d974f278e937cce0872567bce672ed515662678) Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
-rw-r--r--clutter/clutter-state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter/clutter-state.c b/clutter/clutter-state.c
index adb80a454..17885c903 100644
--- a/clutter/clutter-state.c
+++ b/clutter/clutter-state.c
@@ -895,7 +895,7 @@ get_property_from_object (GObject *gobject,
/**
* clutter_state_set:
* @state: a #ClutterState instance.
- * @source_state_name: the name of the source state keys are being added for
+ * @source_state_name: (allow-none): the name of the source state keys are being added for
* @target_state_name: the name of the target state keys are being added for
* @first_object: a #GObject
* @first_property_name: a property of @first_object to specify a key for
@@ -921,7 +921,7 @@ get_property_from_object (GObject *gobject,
* NULL);
* ]|
*
- * will create a transition from any state (a @source_state_name of NULL is
+ * will create a transition from any state (a @source_state_name or NULL is
* treated as a wildcard) and a state named "hover"; the
* <emphasis>button</emphasis> object will have the #ClutterActor:opacity
* property animated to a value of 255 using %CLUTTER_LINEAR as the animation