[vala] glib-2.0: Set type_id for GQuark



commit 449d352b3f3473a2953ac388e51e9d0ae957ba5a
Author: Jürg Billeter <j bitron ch>
Date:   Wed Jul 8 18:55:55 2009 +0100

    glib-2.0: Set type_id for GQuark
    
    Fixes bug 584306.

 vapi/glib-2.0.vapi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 03a216a..cbba20c 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3263,7 +3263,8 @@ namespace GLib {
 	}
 
 	/* Quarks */
-	
+
+	[CCode (type_id = "G_TYPE_UINT")]
 	public struct Quark : uint32 {
 		public static Quark from_string (string str);
 		public static Quark try_string (string str);



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