From: Ryan Lortie Date: Wed, 23 Mar 2011 16:07:12 +0000 (-0400) Subject: glib binding: mark VariantType [Immutable] X-Git-Tag: 0.12.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=207f8b3e3ecf064333dfa41b24ffe715c809a7c4;p=thirdparty%2Fvala.git glib binding: mark VariantType [Immutable] This gets us proper behaviour with respect to functions that return unowned VariantType (which is 'const GVariantType *' in C). --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 047ac1af8..d401c58b0 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -4292,6 +4292,7 @@ namespace GLib { } [Compact] + [Immutable] [CCode (copy_function = "g_variant_type_copy", free_function = "g_variant_type_free", type_id = "G_TYPE_VARIANT_TYPE")] public class VariantType { [CCode (cname = "G_VARIANT_TYPE_BOOLEAN")]