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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user