[vala] gobject-2.0: Fix GEnumValue binding



commit 80830ab65d442fd25fb5b71b599ff9d03e98145b
Author: Jürg Billeter <j bitron ch>
Date:   Fri Oct 29 18:48:11 2010 +0200

    gobject-2.0: Fix GEnumValue binding

 vapi/gobject-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 1b29939..fd581a8 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -400,8 +400,8 @@ namespace GLib {
 		public unowned EnumValue[] values;
 	}
 
-	[Compact]
-	public class EnumValue {
+	[CCode (has_type_id = false)]
+	public struct EnumValue {
 		public int value;
 		public unowned string value_name;
 		public unowned string value_nick;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]