From: Luca Bruno Date: Tue, 26 Apr 2011 09:08:40 +0000 (+0200) Subject: x11: Set type_id for Atom X-Git-Tag: 0.12.1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aab47d5edd128511d39a3fab23712b5d07a6ec04;p=thirdparty%2Fvala.git x11: Set type_id for Atom --- diff --git a/vapi/x11.vapi b/vapi/x11.vapi index a88114357..d360e5d4b 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 { }