[vala] clutter-1.0: fix Color.get_static return value



commit 8fd7a08d00625210692846d97deb2fc03de48f6e
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Feb 2 10:25:50 2013 -0800

    clutter-1.0:  fix Color.get_static return value

 vapi/clutter-1.0.vapi              |    2 +-
 vapi/metadata/Clutter-1.0.metadata |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index e5a9828..215054c 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -7313,7 +7313,7 @@ namespace Clutter {
 		public Color.from_pixel (uint32 pixel);
 		[CCode (cname = "clutter_color_from_string")]
 		public Color.from_string (string str);
-		public static Clutter.Color get_static (Clutter.StaticColor color);
+		public static unowned Clutter.Color? get_static (Clutter.StaticColor color);
 		public uint hash ();
 		public Clutter.Color init (uint8 red, uint8 green, uint8 blue, uint8 alpha);
 		public Clutter.Color interpolate (Clutter.Color final, double progress);
diff --git a/vapi/metadata/Clutter-1.0.metadata b/vapi/metadata/Clutter-1.0.metadata
index 9cdce8d..bd5c39a 100644
--- a/vapi/metadata/Clutter-1.0.metadata
+++ b/vapi/metadata/Clutter-1.0.metadata
@@ -167,6 +167,9 @@ ZoomAction
 	.get_focal_point.point out=false
 	.get_transformed_focal_point.point out=false
 
+// Struct return values
+color_get_static nullable
+
 // Remove for clutter-2.0
 /////////////////////////
 



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