[vala/0.10] clutter-gtk-0.10: Fix init_with_args bindings.



commit d78316a4813bf4d56e99b2898dd6190a61fa01b2
Author: Andreas Brauchli <a brauchli elementarea net>
Date:   Tue Jan 4 09:53:57 2011 +0100

    clutter-gtk-0.10: Fix init_with_args bindings.
    
    Fixes bug 635522.

 vapi/clutter-gtk-0.10.vapi                         |    2 +-
 .../clutter-gtk-0.10/clutter-gtk-0.10.metadata     |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/vapi/clutter-gtk-0.10.vapi b/vapi/clutter-gtk-0.10.vapi
index e794d6a..f453983 100644
--- a/vapi/clutter-gtk-0.10.vapi
+++ b/vapi/clutter-gtk-0.10.vapi
@@ -56,7 +56,7 @@ namespace GtkClutter {
 	[CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
 	public static Clutter.InitError init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
 	[CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
-	public static Clutter.InitError init_with_args (int argc, out 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_pos = 0.9)] ref unowned string[] argv, string parameter_string, [CCode (array_length = false)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
 	[CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
 	public static GLib.Quark texture_error_quark ();
 	[CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
diff --git a/vapi/packages/clutter-gtk-0.10/clutter-gtk-0.10.metadata b/vapi/packages/clutter-gtk-0.10/clutter-gtk-0.10.metadata
index e299425..2d843bc 100644
--- a/vapi/packages/clutter-gtk-0.10/clutter-gtk-0.10.metadata
+++ b/vapi/packages/clutter-gtk-0.10/clutter-gtk-0.10.metadata
@@ -9,4 +9,8 @@ gtk_clutter_get_light_color.color is_out="1"
 gtk_clutter_get_mid_color.color is_out="1"
 gtk_clutter_init.argc hidden="1"
 gtk_clutter_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
+gtk_clutter_init_with_args.argc hidden="1"
+gtk_clutter_init_with_args.argv is_array="1" is_ref="1" array_length_pos="0.9"
+gtk_clutter_init_with_args.entries is_array="1" no_array_length="1"
+gtk_clutter_init_with_args.translation_domain nullable="1"
 



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