]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Mark MessageDialog constructor parameter, message_format, as nullable
authorAlistair Thomas <astavale@yahoo.co.uk>
Wed, 13 Dec 2017 16:14:46 +0000 (16:14 +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+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 085a3e0e952eb20c05ee9f75ea4f9fba92d7c1ca..e4b57ca9caf923e367909a948aee98fbf640ff59 100644 (file)
@@ -3474,7 +3474,7 @@ namespace Gtk {
        public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
                [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 52f132c7de1ee69aaea2c1e721ae1ad9063a0f81..dc16428094ef375e7524ed4342103e259dbf504a 100644 (file)
@@ -849,6 +849,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"