]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Make Bin.add first parameter unowned
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 16 Mar 2014 15:28:04 +0000 (16:28 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 16 Mar 2014 15:28:04 +0000 (16:28 +0100)
vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index cb1fb69fc27dedceb6c68f87160b5c1bbb53ab73..1f828768a65349df9cb78afad1c5fc293b9b8646 100644 (file)
@@ -511,7 +511,7 @@ namespace Gst {
                public bool state_dirty;
                [CCode (has_construct_function = false, returns_floating_reference = true, type = "GstElement*")]
                public Bin (string name);
-               public bool add (owned Gst.Element element);
+               public bool add (Gst.Element element);
                [NoWrapper]
                public virtual bool add_element (Gst.Element element);
                public void add_many (Gst.Element element_1, ...);
index 3ab00af6b2c7a21eef658b8a6f2e4b59c9fdc280..fd9e015dbc23dd8d8728dcd37891566853f6b759 100644 (file)
@@ -36,6 +36,7 @@ ElementFactory
 // Variadic
 Bin
   .add_many skip=false
+  .add.element owned=false
   .add_many.element_1 owned=false
 Element
   .link_many skip=false