]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Fix ownerships and static-ness of Gst.ChildProxy methods
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 27 Mar 2010 09:45:14 +0000 (10:45 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 8 Apr 2010 08:30:50 +0000 (10:30 +0200)
vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index d92ac714d570ef143baa3da7d084d3acc6a62085..58d88d52f2a6e5d1c77cdd1b79ba290269d5f48e 100644 (file)
@@ -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]
index 69c71de20d1ba425e98c5281d0d663348e2f3c77..46bd7944a03bc553fee6f2df3208e0e7cc7b2e58 100644 (file)
@@ -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)]
index 7a59d1d9e5255fe13e9cab6961e9f250e69c8d10..3b323264e92c718405100fa737020f89c1934541 100644 (file)
@@ -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"