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