From: Rico Tzschichholz Date: Mon, 21 Nov 2016 17:00:02 +0000 (+0100) Subject: gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned" X-Git-Tag: 0.35.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91f13af338e18b2f2a7d4c17e6674786a767375;p=thirdparty%2Fvala.git gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned" https://bugzilla.gnome.org/show_bug.cgi?id=774791 --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index b9ef4b059..865793d73 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 get_static_pad_templates (); + public unowned GLib.List 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 c1cda2265..abbbdc191 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" +ElementFactory.get_static_pad_templates type_arguments="Gst.StaticPadTemplate?" // Custom Buffer