[vala] clutter-gst-2.0/3.0: Fix init_with_args() binding
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] clutter-gst-2.0/3.0: Fix init_with_args() binding
- Date: Wed, 14 Sep 2016 14:41:12 +0000 (UTC)
commit ebe2ae321de14f459849e4256ecc78c494858fd4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Sep 14 16:39:58 2016 +0200
clutter-gst-2.0/3.0: Fix init_with_args() binding
https://bugzilla.gnome.org/show_bug.cgi?id=764259
vapi/clutter-gst-2.0.vapi | 2 +-
vapi/clutter-gst-3.0.vapi | 2 +-
vapi/metadata/ClutterGst-2.0.metadata | 5 ++++-
vapi/metadata/ClutterGst-3.0.metadata | 5 ++++-
4 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/vapi/clutter-gst-2.0.vapi b/vapi/clutter-gst-2.0.vapi
index 97cac31..5d2196f 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 38662b3..cfd2911 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 a078b3f..0aea27c 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 a078b3f..0aea27c 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]