From: Bilal Elmoussaoui Date: Fri, 11 Feb 2022 11:05:42 +0000 (+0100) Subject: g-i: mark get_selected_printer as nullable X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~4^2~4^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6b638686414fc4a7108f33a7aee38717a13dddb7;p=gtk4.git 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 --- diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 6c1ff5c260..d6c98d41ec 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -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)