[vala] gstreamer-0.10: Fix ownership of get accessor of Object.name property



commit 66c4778ccfdbd5331e795e8487a5adcd4ea1904c
Author: Marcin Lewandowski <www saepia net>
Date:   Fri Jul 15 14:27:19 2011 +0200

    gstreamer-0.10: Fix ownership of get accessor of Object.name property
    
    Fixes bug 654631.

 vapi/gstreamer-0.10.vapi                           |    2 +-
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 98659fc..c8239a7 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -787,7 +787,7 @@ namespace Gst {
 		public void sink ();
 		public void unparent ();
 		public void unref ();
-		public string name { get; set construct; }
+		public string name { owned get; set construct; }
 		public virtual signal void deep_notify (Gst.Object orig, GLib.ParamSpec pspec);
 		public virtual signal void object_saved (void* parent);
 		public virtual signal void parent_set (Gst.Object parent);
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 8656e22..226621b 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -337,6 +337,7 @@ gst_mini_object_replace hidden="1"
 GstObject abstract="1"
 GstObject.flags type_name="ObjectFlags"
 GstObject.refcount hidden="1"
+GstObject:name owned_get="1"
 GstObjectClass hidden="1"
 gst_object_check_uniqueness.list type_arguments="Gst.Object"
 gst_object_default_error throws="0"



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