From fe852721123fb7dc5749c690613ca6e209363e2f Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Fri, 19 Feb 2010 14:53:17 -0200 Subject: [annotations] Add allow-none This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474 --- gtk/gtkmessagedialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/gtkmessagedialog.c') diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index b721aded36..71a4098b54 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -544,11 +544,11 @@ gtk_message_dialog_new (GtkWindow *parent, /** * gtk_message_dialog_new_with_markup: - * @parent: transient parent, or %NULL for none + * @parent: (allow-none): transient parent, or %NULL for none * @flags: flags * @type: type of message * @buttons: set of buttons to use - * @message_format: printf()-style format string, or %NULL + * @message_format: (allow-none): printf()-style format string, or %NULL * @Varargs: arguments for @message_format * * Creates a new message dialog, which is a simple dialog with an icon @@ -695,7 +695,7 @@ gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog, /** * gtk_message_dialog_format_secondary_text: * @message_dialog: a #GtkMessageDialog - * @message_format: printf()-style format string, or %NULL + * @message_format: (allow-none): printf()-style format string, or %NULL * @Varargs: arguments for @message_format * * Sets the secondary text of the message dialog to be @message_format -- cgit v1.2.1