[vala] gstreamer: Fix ownerships and static-ness of Gst.ChildProxy methods



commit 9e8f23a8a613ac9202553073abae1469eb4e1020
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Sat Mar 27 10:45:14 2010 +0100

    gstreamer: Fix ownerships and static-ness of Gst.ChildProxy methods

 vapi/gstreamer-0.10.vapi                           |   18 +++++++++---------
 .../gstreamer-0.10/gstreamer-0.10-custom.vala      |   10 ++++++++++
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    9 +++++++++
 3 files changed, 28 insertions(+), 9 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index d92ac71..58d88d5 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -1414,16 +1414,16 @@ namespace Gst {
 	}
 	[CCode (cheader_filename = "gst/gst.h")]
 	public interface ChildProxy : Gst.Object {
-		public static void @get (Gst.Object object, ...);
-		public abstract unowned Gst.Object get_child_by_index (uint index);
-		public unowned Gst.Object get_child_by_name (string name);
+		public void @get (string first_property_name, ...);
+		public abstract Gst.Object get_child_by_index (uint index);
+		public Gst.Object get_child_by_name (string name);
 		public abstract uint get_children_count ();
-		public static void get_property (Gst.Object object, string name, Gst.Value value);
-		public static void get_valist (Gst.Object object, string first_property_name, void* var_args);
-		public static bool lookup (Gst.Object object, string name, out unowned Gst.Object target, out unowned GLib.ParamSpec pspec);
-		public static void @set (Gst.Object object, ...);
-		public static void set_property (Gst.Object object, string name, Gst.Value value);
-		public static void set_valist (Gst.Object object, string first_property_name, void* var_args);
+		public void get_property (string name, ref Gst.Value value);
+		public void get_valist (string first_property_name, void* var_args);
+		public bool lookup (string name, out Gst.Object target, out unowned GLib.ParamSpec pspec);
+		public void @set (string first_property_name, ...);
+		public void set_property (string name, Gst.Value value);
+		public void set_valist (string first_property_name, void* var_args);
 		[HasEmitter]
 		public signal void child_added (GLib.Object child);
 		[HasEmitter]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
index 69c71de..46bd794 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -79,6 +79,16 @@ namespace Gst {
 		public bool async_signal_func (Gst.Bus bus, Gst.Message message);
 	}
 
+	public interface ChildProxy : Gst.Object {
+		public void @get (string first_property_name, ...);
+		public void get_property (string name, ref Gst.Value value);
+		public void get_valist (string first_property_name, void* var_args);
+		public bool lookup (string name, out Gst.Object target, out unowned GLib.ParamSpec pspec);
+		public void @set (string first_property_name, ...);
+		public void set_property (string name, Gst.Value value);
+		public void set_valist (string first_property_name, void* var_args);
+	}
+
 	[CCode (cheader_filename = "gst/gst.h")]
 	public class Pad {
 		[CCode (array_length_pos = 0, delegate_target_pos = 0)]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 7a59d1d..3b32326 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -83,6 +83,15 @@ gst_caps_to_string transfer_ownership="1"
 gst_caps_replace hidden="1"
 GstChildProxy::child_added has_emitter="1"
 GstChildProxy::child_removed has_emitter="1"
+gst_child_proxy_get_child_by_name transfer_ownership="1"
+gst_child_proxy_get_child_by_index transfer_ownership="1"
+gst_child_proxy_get hidden="1"
+gst_child_proxy_get_property hidden="1"
+gst_child_proxy_get_valist hidden="1"
+gst_child_proxy_set hidden="1"
+gst_child_proxy_set_property hidden="1"
+gst_child_proxy_set_valist hidden="1"
+gst_child_proxy_lookup hidden="1"
 GstClockTime hidden="1"
 GstClockTimeDiff hidden="1"
 GstControlSource.get_value hidden="1"



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