From aab47d5edd128511d39a3fab23712b5d07a6ec04 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Tue, 26 Apr 2011 11:08:40 +0200 Subject: [PATCH] x11: Set type_id for Atom --- vapi/x11.vapi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { } -- 2.47.2