[vala] x11: Set type_id for Atom
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] x11: Set type_id for Atom
- Date: Tue, 26 Apr 2011 09:09:48 +0000 (UTC)
commit c9dc4b09c915ac0e2adbd5f99107ff427228a2cb
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Apr 26 11:08:40 2011 +0200
x11: Set type_id for Atom
vapi/x11.vapi | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index 32cc79c..9f82f4e 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 {
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]