]> 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>
Wed, 13 Dec 2017 19:44:58 +0000 (20:44 +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 aa468ddc3846cfcb9f63843885c7ccbf968f4957..88e9cfb36e00ba2dd95fbcc64566d8ca3e6c09cf 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 7ac6358f47fb4b22d6493283778935b5696ca95c..b3c3881a550f69f95d6c3182cc44134c750b570f 100644 (file)
@@ -850,6 +850,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"