From: Jürg Billeter Date: Mon, 14 Sep 2009 10:29:50 +0000 (+0200) Subject: gobject-2.0: Add bindings for more G_TYPE_* constants X-Git-Tag: 0.7.6~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ffcd7d1ac6f438e1d00614457f945a3e892e6db;p=thirdparty%2Fvala.git gobject-2.0: Add bindings for more G_TYPE_* constants Fixes bug 591972. --- diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 0ba722ae2..983b567cc 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -66,8 +66,11 @@ namespace GLib { public TypeClass class_ref (); public weak TypeClass class_peek (); - [CCode (cname = "G_TYPE_INVALID")] - public static Type INVALID; + public const Type INVALID; + public const Type INTERFACE; + public const Type ENUM; + public const Type FLAGS; + public const Type BOXED; } public struct TypeQuery { @@ -355,6 +358,7 @@ namespace GLib { public static delegate void Callback (); [Compact] + [CCode (type_id = "G_TYPE_CLOSURE")] public class Closure { }