[vala/0.12] x11: Set type_id for Atom



commit aab47d5edd128511d39a3fab23712b5d07a6ec04
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Apr 26 11:08:40 2011 +0200

    x11: Set type_id for Atom

 vapi/x11.vapi |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index a881143..d360e5d 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -267,7 +267,10 @@ namespace X {
 
 	[SimpleType]
 	[IntegerType (rank = 9)]
-	[CCode (cname = "Atom")]
+	[CCode (cname = "Atom", type_id = "G_TYPE_LONG",
+		marshaller_type_name = "LONG",
+		get_value_function = "g_value_get_long",
+		set_value_function = "g_value_set_long")]
 	public struct Atom {
 	}
 



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