summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetupunixdialog.c
diff options
context:
space:
mode:
authorBilal Elmoussaoui <belmouss@redhat.com>2022-02-11 12:07:54 +0100
committerBilal Elmoussaoui <belmouss@redhat.com>2022-02-11 12:07:54 +0100
commite6322e177eecda08152fe15734fa2c253b653747 (patch)
tree5a95c70a7c09d1e6e70731505c41ffb430ef272c /gtk/gtkpagesetupunixdialog.c
parent6b638686414fc4a7108f33a7aee38717a13dddb7 (diff)
downloadgtk+-e6322e177eecda08152fe15734fa2c253b653747.tar.gz
g-i: Mark get_print_settings as nullable
Fixes https://github.com/gtk-rs/gtk4-rs/issues/880
Diffstat (limited to 'gtk/gtkpagesetupunixdialog.c')
-rw-r--r--gtk/gtkpagesetupunixdialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c
index 7bb9ed305f..1539d25f3d 100644
--- a/gtk/gtkpagesetupunixdialog.c
+++ b/gtk/gtkpagesetupunixdialog.c
@@ -898,7 +898,7 @@ set_active_printer (GtkPageSetupUnixDialog *dialog,
/**
* gtk_page_setup_unix_dialog_set_print_settings:
* @dialog: a `GtkPageSetupUnixDialog`
- * @print_settings: a `GtkPrintSettings`
+ * @print_settings: (nullable): a `GtkPrintSettings`
*
* Sets the `GtkPrintSettings` from which the page setup dialog
* takes its values.
@@ -935,7 +935,7 @@ gtk_page_setup_unix_dialog_set_print_settings (GtkPageSetupUnixDialog *dialog,
*
* Gets the current print settings from the dialog.
*
- * Returns: (transfer none): the current print settings
+ * Returns: (transfer none) (nullable): the current print settings
**/
GtkPrintSettings *
gtk_page_setup_unix_dialog_get_print_settings (GtkPageSetupUnixDialog *dialog)