[vala] gobject-2.0: Fix GParameter binding



commit 018df5424d4508ebbba0c28cf06fecb0d5482240
Author: Jürg Billeter <j bitron ch>
Date:   Sun Sep 13 20:46:18 2009 +0200

    gobject-2.0: Fix GParameter binding

 vapi/gobject-2.0.vapi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 21cc069..0ba722a 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;
 	}
 



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