[vala] gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned"



commit f91f13af338e18b2f2a7d4c17e6674786a767375
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Nov 21 18:00:02 2016 +0100

    gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned"
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774791

 vapi/gstreamer-1.0.vapi        |    2 +-
 vapi/metadata/Gst-1.0.metadata |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index b9ef4b0..865793d 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1296,7 +1296,7 @@ namespace Gst {
                [CCode (array_length = false, array_null_terminated = true)]
                public string[]? get_metadata_keys ();
                public uint get_num_pad_templates ();
-               public GLib.List<Gst.StaticPadTemplate?> get_static_pad_templates ();
+               public unowned GLib.List<Gst.StaticPadTemplate?> get_static_pad_templates ();
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_uri_protocols ();
                public Gst.URIType get_uri_type ();
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index c1cda22..abbbdc1 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -212,7 +212,7 @@ flow_get_name parent="Gst.FlowReturn" name="get_name" symbol_type="method" insta
 formats_contains parent="Gst.Format" name="contains"
 
 // Structs as generic type arguments
-ElementFactory.get_static_pad_templates type="GLib.List<weak Gst.StaticPadTemplate?>"
+ElementFactory.get_static_pad_templates type_arguments="Gst.StaticPadTemplate?"
 
 // Custom
 Buffer


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