From: Emmanuele Bassi Date: Mon, 15 Nov 2021 15:33:56 +0000 (+0000) Subject: docs: Annotate Label.get_selection_bounds() out arguments X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~5^2~144^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ff3bb7f671701c10cd02ed7975da1c9da66a3bc2;p=gtk4.git docs: Annotate Label.get_selection_bounds() out arguments They are optional, and should be marked as such. See issue: #4452 --- diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 8f94d8ab36..41041b3a9e 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -3810,7 +3810,7 @@ gtk_label_set_ellipsize (GtkLabel *self, * See [method@Gtk.Label.set_ellipsize]. * * Returns: `PangoEllipsizeMode` - **/ + **/ PangoEllipsizeMode gtk_label_get_ellipsize (GtkLabel *self) { @@ -4962,8 +4962,8 @@ gtk_label_select_region (GtkLabel *self, /** * gtk_label_get_selection_bounds: * @self: a `GtkLabel` - * @start: (out): return location for start of selection, as a character offset - * @end: (out): return location for end of selection, as a character offset + * @start: (out) (optional): return location for start of selection, as a character offset + * @end: (out) (optional): return location for end of selection, as a character offset * * Gets the selected range of characters in the label. *