]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Turn gst_object_replace into a static function
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 16 Aug 2009 15:49:15 +0000 (17:49 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 15 Sep 2009 16:55:53 +0000 (18:55 +0200)
Fixes bug 591979.

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 5bd5079cd0b17dfceb4566f67273f1474fdf37ab..2ce0a8fa2e8007a3a592b8f401423929b6d747df 100644 (file)
@@ -682,7 +682,7 @@ namespace Gst {
                public string get_path_string ();
                public bool has_ancestor (Gst.Object ancestor);
                public unowned Gst.Object @ref ();
-               public void replace (Gst.Object newobj);
+               public static void replace (ref Gst.Object oldobj, Gst.Object newobj);
                public virtual void restore_thyself (void* self);
                public virtual void* save_thyself (void* parent);
                public bool set_name (string name);
index 29cd91392d20f0832b57097047762e1d28be0a46..6dee2d262e2453a8b1fc4a5e72524afac55f1ea3 100644 (file)
@@ -41,6 +41,7 @@ namespace Gst {
                public weak Object @ref ();
                public void unref ();
                public void sink ();
+               public static void replace (ref Gst.Object oldobj, Gst.Object newobj);
        }
 
        public class Bin {
index 0a6894f64054de39fd469b7e0f854cb5635d5116..97b641953964a662a5a95107135a16d12b81510c 100644 (file)
@@ -197,6 +197,7 @@ gst_object_get_path_string transfer_ownership="1"
 gst_object_sink hidden="1"
 gst_object_ref hidden="1"
 gst_object_unref hidden="1"
+gst_object_replace hidden="1"
 GstPad.querytypefunc hidden="1"
 gst_pad_add_buffer_probe hidden="1"
 gst_pad_add_buffer_probe_full hidden="1"