[vala] gstreamer-1.0: Mark argv as unowned in Gst.init_check()



commit 95fcdd76369cd8b2c3a980790748b1aebc7e2d6a
Author: VÃctor Manuel JÃquez Leal <vjaquez igalia com>
Date:   Sun Nov 25 01:53:28 2012 +0100

    gstreamer-1.0: Mark argv as unowned in Gst.init_check()
    
    Fixes bug 689003.

 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 6bb7ba6..f9e8ce7 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -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")]
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index af3eb4a..ad6ff9c 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -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



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