[vala] Fix invalid has_type_id attributes in bindings



commit bca04ba80ece4c2456ab53991cb5e989ed619342
Author: Jürg Billeter <j bitron ch>
Date:   Mon Mar 29 00:00:27 2010 +0200

    Fix invalid has_type_id attributes in bindings

 vapi/cairo.vapi                                    |    4 ++--
 vapi/ccss-1.vapi                                   |   16 ++++++++--------
 vapi/libosso.vapi                                  |    2 +-
 .../gnome-keyring-1/gnome-keyring-1-custom.vala    |    4 ++--
 vapi/packages/hildon-1/hildon-1-custom.vala        |    8 ++++----
 vapi/x11.vapi                                      |    2 +-
 6 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi
index 042c070..e416b80 100644
--- a/vapi/cairo.vapi
+++ b/vapi/cairo.vapi
@@ -535,7 +535,7 @@ namespace Cairo {
 		public int get_depth ();
 	}
 	
-	[CCode (cname = "cairo_matrix_t", has_type_id = "false")]
+	[CCode (cname = "cairo_matrix_t", has_type_id = false)]
 	public struct Matrix {
 		[CCode (cname = "cairo_matrix_init")]
 		public Matrix (double xx, double yx, double xy, double yy, double x0, double y0);
@@ -551,7 +551,7 @@ namespace Cairo {
 		public void transform_point (ref double x, ref double y);
 	}
 
-	[CCode (cname = "cairo_rectangle_t", has_type_id = "false")]
+	[CCode (cname = "cairo_rectangle_t", has_type_id = false)]
 	public struct Rectangle
 	{
 		public double x;
diff --git a/vapi/ccss-1.vapi b/vapi/ccss-1.vapi
index e09798f..06b8cd7 100644
--- a/vapi/ccss-1.vapi
+++ b/vapi/ccss-1.vapi
@@ -3,7 +3,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_background_attachment_", cname = "ccss_background_attachment_t")]
 	public class BackgroundAttachment: Property {
-		[CCode (cprefix = "CCSS_BACKGROUND_", has_type_id = "0", cname = "ccss_background_attachment_type_t")]
+		[CCode (cprefix = "CCSS_BACKGROUND_", has_type_id = false, cname = "ccss_background_attachment_type_t")]
 		public enum Type {
 			SCROLL,
 			FIXED
@@ -32,7 +32,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_background_repeat_", cname = "ccss_background_repeat_t")]
 	public class BackgroundRepeat: Property {
-		[CCode (cprefix = "CCSS_BACKGROUND_", has_type_id = "0", cname = "ccss_background_repeat_type_t")]
+		[CCode (cprefix = "CCSS_BACKGROUND_", has_type_id = false, cname = "ccss_background_repeat_type_t")]
 		public enum Type {
 			REPEAT,
 			REPEAT_X,
@@ -83,7 +83,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_border_image_", cname = "ccss_border_image_t")]
 	public class BorderImage: Property {
-		[CCode (cprefix = "CCSS_BORDER_IMAGE_TILING_", has_type_id = "0", cname = "ccss_border_image_tiling_t")]
+		[CCode (cprefix = "CCSS_BORDER_IMAGE_TILING_", has_type_id = false, cname = "ccss_border_image_tiling_t")]
 		public enum Tiling {
 			REPEAT,
 			ROUND,
@@ -128,7 +128,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_border_style_", cname = "ccss_border_style_t")]
 	public class BorderStyle: Property {
-		[CCode (cprefix = "CCSS_BORDER_STYLE_", has_type_id = "0", cname = "ccss_border_style_type_t")]
+		[CCode (cprefix = "CCSS_BORDER_STYLE_", has_type_id = false, cname = "ccss_border_style_type_t")]
 		public enum Type {
 			HIDDEN,
 			DOTTED,
@@ -252,7 +252,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_position_", cname = "ccss_position_t")]
 	public class Position: Property {
-		[CCode (cprefix = "CCSS_POSITION_", has_type_id = "0", cname = "ccss_position_type_t")]
+		[CCode (cprefix = "CCSS_POSITION_", has_type_id = false, cname = "ccss_position_type_t")]
 		public enum Type {
 			LENGTH,
 			PERCENTAGE,
@@ -297,7 +297,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_property_", cname = "ccss_property_t", free_function = "ccss_property_destroy")]
 	public class Property {
-		[CCode (cprefix = "CCSS_PROPERTY_STATE_", has_type_id = "0", cname = "ccss_property_state_t")]
+		[CCode (cprefix = "CCSS_PROPERTY_STATE_", has_type_id = false, cname = "ccss_property_state_t")]
 		public enum State {
 			INVALID,
 			NONE,
@@ -310,7 +310,7 @@ namespace CCss {
 			[CCode (cname = "ccss_property_state_serialize")]
 			public unowned string serialize ();
 		}
-		[CCode (cprefix = "CCSS_PROPERTY_TYPE_", has_type_id = "0", cname = "ccss_property_type_t")]
+		[CCode (cprefix = "CCSS_PROPERTY_TYPE_", has_type_id = false, cname = "ccss_property_type_t")]
 		public enum Type {
 			DOUBLE,
 			STRING
@@ -355,7 +355,7 @@ namespace CCss {
 	[Compact]
 	[CCode (cprefix = "ccss_stylesheet_", cname = "ccss_stylesheet_t", ref_function = "ccss_stylesheet_reference", unref_function = "ccss_stylesheet_destroy")]
 	public class Stylesheet {
-		[CCode (cprefix = "CCSS_STYLESHEET_", has_type_id = "0", cname = "ccss_stylesheet_precedence_t")]
+		[CCode (cprefix = "CCSS_STYLESHEET_", has_type_id = false, cname = "ccss_stylesheet_precedence_t")]
 		public enum Precedence {
 			USER_AGENT,
 			USER,
diff --git a/vapi/libosso.vapi b/vapi/libosso.vapi
index 1328035..95e5f24 100644
--- a/vapi/libosso.vapi
+++ b/vapi/libosso.vapi
@@ -249,7 +249,7 @@ namespace Osso {
 		DIMMED
 	}
 
-	[CCode (cprefix = "GDK_", has_type_id = "0", cheader_filename = "gdk/gdkkeysyms.h")]
+	[CCode (cprefix = "GDK_", has_type_id = false, cheader_filename = "gdk/gdkkeysyms.h")]
 	public enum KeySym {
 		Up,
 		Down,
diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala b/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala
index d8bed73..ba70e55 100644
--- a/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala
+++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala
@@ -19,7 +19,7 @@ namespace GnomeKeyring
 		public uint len;
 	}
 
-	[CCode (cprefix = "GNOME_KEYRING_ITEM_", has_type_id = "0", cheader_filename = "gnome-keyring.h")]
+	[CCode (cprefix = "GNOME_KEYRING_ITEM_", has_type_id = false, cheader_filename = "gnome-keyring.h")]
 	public enum ItemType {
 		APPLICATION_SECRET,
 		ITEM_TYPE_MASK,
@@ -32,7 +32,7 @@ namespace GnomeKeyring
 		LAST_TYPE
 	}
 
-	[CCode (cprefix = "GNOME_KEYRING_ITEM_INFO_", has_type_id = "0", cheader_filename = "gnome-keyring.h")]
+	[CCode (cprefix = "GNOME_KEYRING_ITEM_INFO_", has_type_id = false, cheader_filename = "gnome-keyring.h")]
 	public enum ItemInfoFlags {
 		ALL,
 		BASICS,
diff --git a/vapi/packages/hildon-1/hildon-1-custom.vala b/vapi/packages/hildon-1/hildon-1-custom.vala
index de39c38..d791cae 100644
--- a/vapi/packages/hildon-1/hildon-1-custom.vala
+++ b/vapi/packages/hildon-1/hildon-1-custom.vala
@@ -21,7 +21,7 @@
  */
 
 namespace Hildon {
-	[CCode (cprefix = "HILDON_GTK_INPUT_MODE_", has_type_id = "0", cheader_filename = "gtk/gtk.h")]
+	[CCode (cprefix = "HILDON_GTK_INPUT_MODE_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
 	public enum GtkInputMode {
 		ALPHA,
 		NUMERIC,
@@ -34,12 +34,12 @@ namespace Hildon {
 		AUTOCAP,
 		DICTIONARY
 	}
-	[CCode (cprefix = "HILDON_", has_type_id = "0", cheader_filename = "gtk/gtk.h")]
+	[CCode (cprefix = "HILDON_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
 	public enum Mode {
 		DIABLO,
 		FREMANTLE
 	}
-	[CCode (cprefix = "HILDON_SIZE_", has_type_id = "0", cheader_filename = "gtk/gtk.h")]
+	[CCode (cprefix = "HILDON_SIZE_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
 	public enum SizeType {
 		AUTO_WIDTH,
 		HALFSCREEN_WIDTH,
@@ -49,7 +49,7 @@ namespace Hildon {
 		THUMB_HEIGHT,
 		AUTO
 	}
-	[CCode (cprefix = "HILDON_UI_MODE_", has_type_id = "0", cheader_filename = "gtk/gtk.h")]
+	[CCode (cprefix = "HILDON_UI_MODE_", has_type_id = false, cheader_filename = "gtk/gtk.h")]
 	public enum UIMode {
 		NORMAL,
 		EDIT
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index 78ab64f..6464014 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -787,7 +787,7 @@ namespace X {
 		public ClientMessageEventData data;
 	}
 
-	[CCode (cname = "RECTANGLE", has_type_id = "false")]
+	[CCode (cname = "RECTANGLE", has_type_id = false)]
 	public struct Rectangle {
 		public short x;
 		public short y;



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