summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-02-19 14:53:17 -0200
committerJohan Dahlin <johan@gnome.org>2010-02-19 17:57:51 -0200
commitfe852721123fb7dc5749c690613ca6e209363e2f (patch)
tree62ac68aab7296dbea80b199a0e1769ba5621514a /gtk/gtkprintunixdialog.c
parent347d406f80f2140a466da30764171cd92aa7d7ea (diff)
downloadgtk+-fe852721123fb7dc5749c690613ca6e209363e2f.tar.gz
[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
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r--gtk/gtkprintunixdialog.c6
1 files changed, 3 insertions, 3 deletions
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