]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 26 Apr 2011 09:08:40 +0000 (11:08 +0200)
vapi/x11.vapi

index 32cc79cdf2f031a88f7c848b87762cb925664fb7..9f82f4eefd4132c5922c923e841dd03781571952 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 {
        }