[vala] gtk+-2.0: make Gtk.init_with_args.translation_domain argument nullable



commit f9f1cb4d48eccb98929b3881b4c889014ee1fa51
Author: Luca Bruno <lethalman88 gmail com>
Date:   Tue Apr 27 16:19:05 2010 -0700

    gtk+-2.0: make Gtk.init_with_args.translation_domain argument nullable
    
    Fixes bug 614517.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index adb26a1..0999035 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 0df33dc..e3e11f7 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"



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