forked from AuroraMiddleware/gtk
g-i: Mark get_print_settings as nullable
Fixes https://github.com/gtk-rs/gtk4-rs/issues/880
This commit is contained in:
parent
6b63868641
commit
e6322e177e
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user