]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned"
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 Nov 2016 17:00:02 +0000 (18:00 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 21 Nov 2016 17:00:02 +0000 (18:00 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=774791

vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index b9ef4b059d1a20ad914d2a67babc74d4f0f94bfc..865793d7320f173ccb259d4e3e8d5b02feaa8559 100644 (file)
@@ -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 ();
index c1cda22653273a9795576885e8f2ab070a5398c3..abbbdc191e83d664cb91285d5a9f4a2709d24b45 100644 (file)
@@ -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