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/gtkprintunixdialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/gtkprintunixdialog.c') diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 92299765c2..bee3cdfe2d 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -3819,8 +3819,8 @@ populate_dialog (GtkPrintUnixDialog *print_dialog) /** * gtk_print_unix_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 * * Creates a new #GtkPrintUnixDialog. * @@ -4029,7 +4029,7 @@ set_active_printer (GtkPrintUnixDialog *dialog, /** * gtk_print_unix_dialog_set_settings: * @dialog: a #GtkPrintUnixDialog - * @settings: a #GtkPrintSettings, or %NULL + * @settings: (allow-none): a #GtkPrintSettings, or %NULL * * Sets the #GtkPrintSettings for the #GtkPrintUnixDialog. Typically, * this is used to restore saved print settings from a previous print -- cgit v1.2.1