Annotate gtk_text_child_anchor_get_widgets() correctly

We switched from returning a list to returning a C array, which means we
need to update the introspection annotation and the documentation to
match the implementation.
This commit is contained in:
Emmanuele Bassi 2020-05-06 19:31:07 +01:00
parent ddd113ac98
commit 56d3a79990

View File

@ -432,10 +432,11 @@ gtk_text_child_anchor_finalize (GObject *obj)
* @anchor: a #GtkTextChildAnchor
*
* Gets a list of all widgets anchored at this child anchor.
* The returned list should be freed with g_list_free().
*
* The order in which the widgets are returned is not defined.
*
* Returns: (element-type GtkWidget) (transfer container): list of widgets anchored at @anchor
* Returns: (array length=out_len) (transfer container): an
* array of widgets anchored at @anchor
**/
GtkWidget **
gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor,