[vala] gstreamer-1.0: Make Bin.add first parameter unowned
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-1.0: Make Bin.add first parameter unowned
- Date: Sun, 16 Mar 2014 15:28:30 +0000 (UTC)
commit 47868c96854fbdd146493b16ac8ab87f0f9cc8bd
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Mar 16 16:28:04 2014 +0100
gstreamer-1.0: Make Bin.add first parameter unowned
vapi/gstreamer-1.0.vapi | 2 +-
vapi/metadata/Gst-1.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index cb1fb69..1f82876 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -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, ...);
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index 3ab00af..fd9e015 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]