From: Luca Bruno Date: Tue, 27 Apr 2010 23:19:05 +0000 (-0700) Subject: gtk+-2.0: make Gtk.init_with_args.translation_domain argument nullable X-Git-Tag: 0.9.1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9f1cb4d48eccb98929b3881b4c889014ee1fa51;p=thirdparty%2Fvala.git gtk+-2.0: make Gtk.init_with_args.translation_domain argument nullable Fixes bug 614517. --- diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index adb26a173..0999035df 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -7694,7 +7694,7 @@ namespace Gtk { [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")] - public static bool 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; + public static bool 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 = "gtk/gtk.h")] public static uint key_snooper_install (Gtk.KeySnoopFunc snooper, void* func_data); [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 0df33dccf..e3e11f71f 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata +++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata @@ -230,6 +230,7 @@ gtk_init_check_abi_check.argv is_array="1" is_ref="1" array_length_pos="0.9" gtk_init_with_args.argc hidden="1" gtk_init_with_args.argv is_array="1" is_ref="1" array_length_pos="0.9" gtk_init_with_args.entries is_array="1" no_array_length="1" +gtk_init_with_args.translation_domain nullable="1" GtkItem::deselect has_emitter="1" GtkItem::select has_emitter="1" GtkItem::toggle has_emitter="1"