[vala] gobject-2.0: Update and fix some enums which are actually flags



commit 8ff77e191e73b75fc5a0e9fe6b4cd01fb0661cf2
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Sun Dec 16 11:54:59 2012 +0100

    gobject-2.0: Update and fix some enums which are actually flags

 vapi/gobject-2.0.vapi |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 0840c11..a37ed96 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -96,6 +96,7 @@ namespace GLib {
 	}
 
 	[CCode (cprefix = "G_TYPE_DEBUG_", has_type_id = false)]
+	[Flags]
 	public enum TypeDebugFlags {
 		NONE,
 		OBJECTS,
@@ -268,6 +269,7 @@ namespace GLib {
 	}
 
 	[CCode (cprefix = "G_PARAM_", has_type_id = false)]
+	[Flags]
 	public enum ParamFlags {
 		READABLE,
 		WRITABLE,
@@ -278,7 +280,10 @@ namespace GLib {
 		STATIC_NICK,
 		STATIC_BLURB,
 		READWRITE,
-		STATIC_STRINGS
+		STATIC_STRINGS,
+		USER_SHIFT,
+		DEPRECATED,
+		MASK
 	}
 
 	[CCode (lower_case_csuffix = "object_class")]
@@ -292,8 +297,8 @@ namespace GLib {
 	public struct ObjectConstructParam {
 	}
 
-	[Flags]
 	[CCode (cprefix = "G_BINDING_")]
+	[Flags]
 	public enum BindingFlags {
 		DEFAULT,
 		BIDIRECTIONAL,
@@ -523,16 +528,21 @@ namespace GLib {
 	public delegate bool SignalEmissionHook (SignalInvocationHint ihint, [CCode (array_length_pos = 1.9)] Value[] param_values);
 
 	[CCode (cprefix = "G_SIGNAL_", has_type_id = false)]
+	[Flags]
 	public enum SignalFlags {
 		RUN_FIRST,
 		RUN_LAST,
 		RUN_CLEANUP,
+		NO_RECURSE,
 		DETAILED,
 		ACTION,
-		NO_HOOKS
+		NO_HOOKS,
+		MUST_COLLECT,
+		DEPRECATED
 	}
 
 	[CCode (cprefix = "G_CONNECT_", has_type_id = false)]
+	[Flags]
 	public enum ConnectFlags {
 		AFTER,
 		SWAPPED



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