]> 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>
Tue, 16 Jan 2018 17:24:20 +0000 (18:24 +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 da2fafbcc8c9d08474eb361159490a1cec9b7f6c..804af9a1fc9ec38e98c5a47920db9a1a301c9490 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 3972f26f6822c92cdc579f0a9788e3dc0a7d3af1..af76f4e1d8bb07c742cb9a1d59988912269be1dc 100644 (file)
@@ -439,6 +439,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"