g-i: Mark get_print_settings as nullable

Fixes https://github.com/gtk-rs/gtk4-rs/issues/880
This commit is contained in:
Bilal Elmoussaoui 2022-02-11 12:07:54 +01:00
parent 6b63868641
commit e6322e177e
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -1515,7 +1515,7 @@ gtk_print_operation_set_print_settings (GtkPrintOperation *op,
* [method@Gtk.PrintOperation.set_print_settings] or
* [method@Gtk.PrintOperation.run] have been called.
*
* Returns: (transfer none): the current print settings of @op.
* Returns: (transfer none) (nullable): the current print settings of @op.
**/
GtkPrintSettings *
gtk_print_operation_get_print_settings (GtkPrintOperation *op)