]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: make Gtk.init_with_args.translation_domain argument nullable
authorLuca Bruno <lethalman88@gmail.com>
Tue, 27 Apr 2010 23:19:05 +0000 (16:19 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 27 Apr 2010 23:19:05 +0000 (16:19 -0700)
Fixes bug 614517.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index adb26a1731b9f66ba3540eafab74523e207fe82b..0999035df63ce0ce4a2277cb83b1de34c842ccd3 100644 (file)
@@ -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")]
index 0df33dccff0c15ef1721935285db1de6b4a6b0e5..e3e11f71f57ae5314628c642d801e1f9a7d4a152 100644 (file)
@@ -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"