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/gtkfilechooserdialog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk/gtkfilechooserdialog.c') diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index f2fd98a346..e88e361afa 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -436,10 +436,10 @@ gtk_file_chooser_dialog_new_valist (const gchar *title, /** * gtk_file_chooser_dialog_new: - * @title: Title of the dialog, or %NULL - * @parent: Transient parent of the dialog, or %NULL + * @title: (allow-none): Title of the dialog, or %NULL + * @parent: (allow-none): Transient parent of the dialog, or %NULL * @action: Open or save mode for the dialog - * @first_button_text: stock ID or text to go in the first button, or %NULL + * @first_button_text: (allow-none): stock ID or text to go in the first button, or %NULL * @Varargs: response ID for the first button, then additional (button, id) pairs, ending with %NULL * * Creates a new #GtkFileChooserDialog. This function is analogous to @@ -470,11 +470,11 @@ gtk_file_chooser_dialog_new (const gchar *title, /** * gtk_file_chooser_dialog_new_with_backend: - * @title: Title of the dialog, or %NULL - * @parent: Transient parent of the dialog, or %NULL + * @title: (allow-none): Title of the dialog, or %NULL + * @parent: (allow-none): Transient parent of the dialog, or %NULL * @action: Open or save mode for the dialog * @backend: The name of the specific filesystem backend to use. - * @first_button_text: stock ID or text to go in the first button, or %NULL + * @first_button_text: (allow-none): stock ID or text to go in the first button, or %NULL * @Varargs: response ID for the first button, then additional (button, id) pairs, ending with %NULL * * Creates a new #GtkFileChooserDialog with a specified backend. This is -- cgit v1.2.1