[vala] glib binding: mark VariantType [Immutable]



commit 207f8b3e3ecf064333dfa41b24ffe715c809a7c4
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Mar 23 12:07:12 2011 -0400

    glib binding: mark VariantType [Immutable]
    
    This gets us proper behaviour with respect to functions that return
    unowned VariantType (which is 'const GVariantType *' in C).

 vapi/glib-2.0.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 047ac1a..d401c58 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")]



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