[vala] clutter-1.0: Make State.set_key.source_state_name parameter nullable



commit 65bff4b529a05e0d2dc0cf260794b37edc3c6f66
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Wed Oct 5 21:44:39 2011 +0200

    clutter-1.0: Make State.set_key.source_state_name parameter nullable
    
    Fixes bug 661018.

 vapi/clutter-1.0.vapi              |    2 +-
 vapi/metadata/Clutter-1.0.metadata |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 165845a..a9211ab 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -1547,7 +1547,7 @@ namespace Clutter {
 		public void remove_key (string? source_state_name, string? target_state_name, GLib.Object? object, string? property_name);
 		public void set_animator (string source_state_name, string target_state_name, Clutter.Animator? animator);
 		public void set_duration (string? source_state_name, string? target_state_name, uint duration);
-		public unowned Clutter.State set_key (string source_state_name, string target_state_name, GLib.Object object, string property_name, uint mode, GLib.Value value, double pre_delay, double post_delay);
+		public unowned Clutter.State set_key (string? source_state_name, string target_state_name, GLib.Object object, string property_name, uint mode, GLib.Value value, double pre_delay, double post_delay);
 		public unowned Clutter.Timeline set_state (string target_state_name);
 		public unowned Clutter.Timeline warp_to_state (string target_state_name);
 		[NoAccessorMethod]
diff --git a/vapi/metadata/Clutter-1.0.metadata b/vapi/metadata/Clutter-1.0.metadata
index fb425ff..087422a 100644
--- a/vapi/metadata/Clutter-1.0.metadata
+++ b/vapi/metadata/Clutter-1.0.metadata
@@ -131,6 +131,8 @@ ModelIter
 	.get skip=false
 	.set skip=false
 PathCallback.data closure=1
+State
+	.set_key.source_state_name nullable
 Script
 	.* skip=false
 Stage



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