g-i: mark get_selected_printer as nullable

There is no selected printer if the user closes the dialog
Fixes https://github.com/gtk-rs/gtk4-rs/issues/882
This commit is contained in:
Bilal Elmoussaoui 2022-02-11 12:05:42 +01:00
parent cb710f1999
commit 6b63868641

View File

@ -3078,7 +3078,7 @@ gtk_print_unix_dialog_new (const char *title,
*
* Gets the currently selected printer.
*
* Returns: (transfer none): the currently selected printer
* Returns: (transfer none) (nullable): the currently selected printer
*/
GtkPrinter *
gtk_print_unix_dialog_get_selected_printer (GtkPrintUnixDialog *dialog)