]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: Set type_id for Atom
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 26 Apr 2011 09:08:40 +0000 (11:08 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 09:10:27 +0000 (11:10 +0200)
vapi/x11.vapi

index a8811435773eda1d365e6eaf4f7310fdb209301c..d360e5d4bffd5def4d02003a8425e5a09dad96d3 100644 (file)
@@ -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 {
        }