[clutter/clutter-1.8] Mark clutter_state_set_key() source_state_name as nullable



commit c5b363ac30d7e1222de8b20a0a1759929052d678
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Wed Oct 5 22:03:25 2011 +0200

    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>

 clutter/clutter-state.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-state.c b/clutter/clutter-state.c
index adb80a4..17885c9 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]