From 7907cfd8ff95d54b1bb30ad7d754ab9b58bbb77b Mon Sep 17 00:00:00 2001 From: Alistair Thomas Date: Wed, 13 Dec 2017 16:14:46 +0000 Subject: gtk+-3.0: Mark MessageDialog constructor parameter, message_format, as nullable https://bugzilla.gnome.org/show_bug.cgi?id=791570 --- vapi/gtk+-3.0.vapi | 2 +- vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 085a3e0e9..e4b57ca9c 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -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] diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 52f132c7d..dc1642809 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -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" -- cgit v1.2.1