]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
clutter-gst-2.0/3.0: Fix init_with_args() binding
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 14 Sep 2016 14:39:58 +0000 (16:39 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 14 Sep 2016 14:39:58 +0000 (16:39 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=764259

vapi/clutter-gst-2.0.vapi
vapi/clutter-gst-3.0.vapi
vapi/metadata/ClutterGst-2.0.metadata
vapi/metadata/ClutterGst-3.0.metadata

index 97cac31f0460a5235db7a5c196c3dafee69b3b95..5d2196f8ea770dd1cbdd9053dd8d014612f88f80 100644 (file)
@@ -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);
index 38662b3812581cbcb7fa22382de33c47f5c2e788..cfd2911ae0e456a2647f0408b8594cc4e5b22f82 100644 (file)
@@ -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;
 }
index a078b3ffc50897801021c6fdebcdd6ec916e1021..0aea27ca9a38938ccbabbca972a16b4e73dfd1a3 100644 (file)
@@ -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
index a078b3ffc50897801021c6fdebcdd6ec916e1021..0aea27ca9a38938ccbabbca972a16b4e73dfd1a3 100644 (file)
@@ -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