Adds (allow-none) as source_target for clutter_state_set_key

While working through the Python3/pygobject bindings, I came across a missing
(allow-none) in clutter_state_set_key(). This allows the API to specify to None
as the source_target.

https://bugzilla.gnome.org/show_bug.cgi?id=664996
This commit is contained in:
Jeremy Moles 2011-12-01 10:36:38 +00:00 committed by Emmanuele Bassi
parent 627a1b1977
commit 1e05e8ceaf

View File

@ -1169,7 +1169,7 @@ clutter_state_fetch_state (ClutterState *state,
/**
* clutter_state_set_key:
* @state: a #ClutterState instance.
* @source_state_name: the source transition to specify transition for or NULL
* @source_state_name: (allow-none): the source transition to specify transition for or NULL
* to specify the default fallback when a more specific source_state doesn't
* exist.
* @target_state_name: the name of the transition to set a key value for.