From: Jürg Billeter Date: Sun, 13 Sep 2009 18:46:18 +0000 (+0200) Subject: gobject-2.0: Fix GParameter binding X-Git-Tag: 0.7.6~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=018df5424d4508ebbba0c28cf06fecb0d5482240;p=thirdparty%2Fvala.git gobject-2.0: Fix GParameter binding --- diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 21cc06995..0ba722ae2 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -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; }