]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: Fix GParameter binding
authorJürg Billeter <j@bitron.ch>
Sun, 13 Sep 2009 18:46:18 +0000 (20:46 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 13 Sep 2009 18:46:18 +0000 (20:46 +0200)
vapi/gobject-2.0.vapi

index 21cc0699562f3ab95b3be87f96867221002173a7..0ba722ae2bf63f7bd99db89a991bade8ddfb5b5d 100644 (file)
@@ -221,8 +221,9 @@ namespace GLib {
        [CCode (instance_pos = 0)]
        public delegate void ToggleNotify (GLib.Object object, bool is_last_ref);
 
+       [CCode (has_copy_function = false, has_destroy_function = false)]
        public struct Parameter {
-               public string name;
+               public unowned string name;
                public Value value;
        }