[vala] clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Texture Cogl properties



commit 9f482028d5419afeedf3d17b0e15103730a1f82c
Author: Ali Sabil <ali sabil gmail com>
Date:   Sat Nov 14 20:03:18 2009 +0100

    clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Texture Cogl properties

 vapi/clutter-1.0.vapi                             |    4 ++--
 vapi/packages/clutter-1.0/clutter-1.0-custom.vala |    2 ++
 vapi/packages/clutter-1.0/clutter-1.0.metadata    |    2 ++
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index a3b9cda..a33e781 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -892,8 +892,8 @@ namespace Clutter {
 		public bool set_from_rgb_data (uchar[] data, bool has_alpha, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error;
 		public bool set_from_yuv_data (uchar[] data, int width, int height, Clutter.TextureFlags flags) throws GLib.Error;
 		public void set_repeat (bool repeat_x, bool repeat_y);
-		public Cogl.Handle cogl_material { get; set; }
-		public Cogl.Handle cogl_texture { get; set; }
+		public Cogl.Material cogl_material { get; set; }
+		public Cogl.Texture cogl_texture { get; set; }
 		[NoAccessorMethod]
 		public bool disable_slicing { get; construct; }
 		[NoAccessorMethod]
diff --git a/vapi/packages/clutter-1.0/clutter-1.0-custom.vala b/vapi/packages/clutter-1.0/clutter-1.0-custom.vala
index 5c53370..c3cfb8e 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0-custom.vala
+++ b/vapi/packages/clutter-1.0/clutter-1.0-custom.vala
@@ -92,6 +92,8 @@ namespace Clutter {
 	public class Texture {
 		[CCode (type = "ClutterActor*", has_construct_function = false)]
 		public Texture.from_file (string filename) throws TextureError;
+		public Cogl.Material cogl_material { get; set; }
+		public Cogl.Texture cogl_texture { get; set; }
 	}
 
 	[CCode (cheader_filename = "clutter/clutter.h")]
diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata
index a1f0498..5f8bc4c 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0.metadata
+++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata
@@ -364,6 +364,8 @@ clutter_text_set_text hidden="1"
 clutter_text_set_use_markup hidden="1"
 
 ClutterTextureError errordomain="1"
+ClutterTexture:cogl-texture hidden="1"
+ClutterTexture:cogl-material hidden="1"
 clutter_texture_new_from_file hidden="1"
 clutter_texture_get_base_size.* is_out="1"
 clutter_texture_get_cogl_* hidden="1"



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