From: Rico Tzschichholz Date: Wed, 14 Sep 2016 14:39:58 +0000 (+0200) Subject: clutter-gst-2.0/3.0: Fix init_with_args() binding X-Git-Tag: 0.34.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebe2ae321de14f459849e4256ecc78c494858fd4;p=thirdparty%2Fvala.git clutter-gst-2.0/3.0: Fix init_with_args() binding https://bugzilla.gnome.org/show_bug.cgi?id=764259 --- diff --git a/vapi/clutter-gst-2.0.vapi b/vapi/clutter-gst-2.0.vapi index 97cac31f0..5d2196f8e 100644 --- a/vapi/clutter-gst-2.0.vapi +++ b/vapi/clutter-gst-2.0.vapi @@ -88,7 +88,7 @@ namespace ClutterGst { public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv); [CCode (cheader_filename = "clutter-gst/clutter-gst.h")] [Version (since = "1.0")] - public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error; + public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, [CCode (array_length = false, type = "GOptionEntry*")] GLib.OptionEntry[]? entries = null, string? translation_domain = null) throws GLib.Error; [CCode (cheader_filename = "clutter-gst/clutter-gst.h")] [Version (since = "1.4")] public static void player_class_init (GLib.ObjectClass object_class); diff --git a/vapi/clutter-gst-3.0.vapi b/vapi/clutter-gst-3.0.vapi index 38662b381..cfd2911ae 100644 --- a/vapi/clutter-gst-3.0.vapi +++ b/vapi/clutter-gst-3.0.vapi @@ -317,5 +317,5 @@ namespace ClutterGst { public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv); [CCode (cheader_filename = "clutter-gst/clutter-gst.h")] [Version (since = "1.0")] - public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, GLib.OptionEntry entries, string translation_domain) throws GLib.Error; + public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, [CCode (array_length = false, type = "GOptionEntry*")] GLib.OptionEntry[]? entries = null, string? translation_domain = null) throws GLib.Error; } diff --git a/vapi/metadata/ClutterGst-2.0.metadata b/vapi/metadata/ClutterGst-2.0.metadata index a078b3ffc..0aea27ca9 100644 --- a/vapi/metadata/ClutterGst-2.0.metadata +++ b/vapi/metadata/ClutterGst-2.0.metadata @@ -5,4 +5,7 @@ VERSION_HEX name="HEX" parent="ClutterGst.Version" VERSION_S name="STRING" parent="ClutterGst.Version" init.argv unowned -init_with_args.argv unowned +init_with_args + .argv unowned + .entries array nullable default=null + .translation_domain nullable default=null diff --git a/vapi/metadata/ClutterGst-3.0.metadata b/vapi/metadata/ClutterGst-3.0.metadata index a078b3ffc..0aea27ca9 100644 --- a/vapi/metadata/ClutterGst-3.0.metadata +++ b/vapi/metadata/ClutterGst-3.0.metadata @@ -5,4 +5,7 @@ VERSION_HEX name="HEX" parent="ClutterGst.Version" VERSION_S name="STRING" parent="ClutterGst.Version" init.argv unowned -init_with_args.argv unowned +init_with_args + .argv unowned + .entries array nullable default=null + .translation_domain nullable default=null