[clutter/clutter-1.8] Adds (allow-none) as source_target for clutter_state_set_key
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.8] Adds (allow-none) as source_target for clutter_state_set_key
- Date: Thu, 1 Dec 2011 13:58:15 +0000 (UTC)
commit 3d2c1ce129dc6b767862ac240727d9b1f4073527
Author: Jeremy Moles <jeremy emperorlinux com>
Date: Thu Dec 1 10:36:38 2011 +0000
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
(cherry picked from commit 1e05e8ceaff25dfb3600cf0798fbca23c1725e12)
Signed-off-by: Emmanuele Bassi <ebassi gnome org>
clutter/clutter-state.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-state.c b/clutter/clutter-state.c
index 17885c9..cb512d9 100644
--- a/clutter/clutter-state.c
+++ b/clutter/clutter-state.c
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]