Commit ccc4137c authored by Evan Nemerson's avatar Evan Nemerson
Browse files

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

parent 9b79c5db
......@@ -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")]
......
......@@ -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")]
......
......@@ -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"
......
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment