Add (allow-none) for clutter_stage_set_key_focus()

The @actor argument can be NULL to unset the key focus.

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Colin Walters 2009-08-13 10:49:39 +01:00 committed by Emmanuele Bassi
parent 9766fb1300
commit d3e06bc1e5

View File

@ -1580,7 +1580,7 @@ on_key_focused_weak_notify (gpointer data,
/**
* clutter_stage_set_key_focus:
* @stage: the #ClutterStage
* @actor: the actor to set key focus to, or %NULL
* @actor: (allow-none): the actor to set key focus to, or %NULL
*
* Sets the key focus on @actor. An actor with key focus will receive
* all the key events. If @actor is %NULL, the stage will receive