]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Mark argv as unowned in Gst.init_check()
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 25 Nov 2012 00:53:28 +0000 (01:53 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 25 Nov 2012 10:22:03 +0000 (11:22 +0100)
Fixes bug 689003.

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

index 6bb7ba6d7d82266b1ae5f6955d7cb6fd6e473187..f9e8ce78eb7bebbe686f08b5020007d30130db9c 100644 (file)
@@ -2996,7 +2996,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h")]
        public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
        [CCode (cheader_filename = "gst/gst.h")]
-       public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref string[]? argv) throws GLib.Error;
+       public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv) throws GLib.Error;
        [CCode (cheader_filename = "gst/gst.h")]
        public static GLib.OptionGroup init_get_option_group ();
        [CCode (cheader_filename = "gst/gst.h")]
index af3eb4a2d91cd4b938807d02e5874d868a803449..ad6ff9cf9ae8ee29559ec71a055695efe85838b2 100644 (file)
@@ -18,6 +18,7 @@ MapInfo
   .data array array_length_field="size"
 init_get_option_group skip=false
 init.argv unowned
+init_check.argv unowned
 
 ControlSource
   .get_value_array.values array array_length_idx=2