]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Mark MessageDialog constructor parameter, message_format, as nullable
authorAlistair Thomas <astavale@yahoo.co.uk>
Wed, 13 Dec 2017 16:10:20 +0000 (16:10 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 13 Dec 2017 19:44:58 +0000 (20:44 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=791570

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

index 908179d0e157e167e40a0f4ce6362434ecb1006e..990a106d3e897b7589410c57067d1b7203346c52 100644 (file)
@@ -2791,7 +2791,7 @@ namespace Gtk {
                public weak Gtk.Widget label;
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [PrintfFormat]
-               public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
+               public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
                [PrintfFormat]
                public void format_secondary_markup (string message_format, ...);
                [PrintfFormat]
index 53ead70c8f5eb2fc469a93e5cb0d35718e30fbf4..15d2e92d277d69983081f2ad010b73ad7834e4c9 100644 (file)
@@ -440,6 +440,7 @@ gtk_menu_tool_button_new.label nullable="1"
 GtkMessageDialog:buttons accessor_method="0"
 gtk_message_dialog_new ellipsis="1" printf_format="1"
 gtk_message_dialog_new.parent nullable="1"
+gtk_message_dialog_new.message_format nullable="1"
 gtk_message_dialog_new_with_markup ellipsis="1" printf_format="1"
 gtk_message_dialog_new_with_markup.parent nullable="1"
 gtk_message_dialog_format_secondary_markup ellipsis="1" printf_format="1"