[vala] gtk+-2.0, gtk+-3.0: the parameter passed to Gtk.init can be null



commit ccc4137c8cf9525cdfaead2ccf60e9543b93e8b8
Author: Evan Nemerson <evan coeus-group com>
Date:   Thu Oct 18 00:12:05 2012 -0700

    gtk+-2.0, gtk+-3.0: the parameter passed to Gtk.init can be null

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 74b75b3..6bfd676 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -8087,7 +8087,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public static GLib.Type identifier_get_type ();
 	[CCode (cheader_filename = "gtk/gtk.h")]
-	public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
+	public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[]? argv);
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public static void init_add (Gtk.Function function);
 	[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index ba596bd..bab742f 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -8402,7 +8402,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public static void icon_size_register_alias (string alias, Gtk.IconSize target);
 	[CCode (cheader_filename = "gtk/gtk.h")]
-	public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
+	public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[]? argv);
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
 	[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 686548d..1e87212 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -278,7 +278,7 @@ gtk_im_context_get_surrounding.text is_out="1"
 gtk_im_context_get_surrounding.cursor_index is_out="1"
 GtkIMContextInfo is_value_type="1" cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h"
 gtk_init.argc hidden="1"
-gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
+gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9" nullable="1"
 gtk_init_add.data hidden="1"
 gtk_init_check.argc hidden="1"
 gtk_init_check.argv is_array="1" is_ref="1" array_length_pos="0.9"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index de342b5..02150f8 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -376,7 +376,7 @@ GtkInfoBar:button-spacing deprecated_since="3.6" replacement="Box.set_spacing"
 GtkInfoBar:content-area-border deprecated_since="3.6" replacement="Container.set_border_width"
 GtkInfoBar:content-area-spacing deprecated_since="3.6" replacement="Container.set_spacing"
 gtk_init.argc hidden="1"
-gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
+gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9" nullable="1"
 gtk_init_add.data hidden="1"
 gtk_init_check.argc hidden="1"
 gtk_init_check.argv is_array="1" is_ref="1" array_length_pos="0.9"



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