Merge branch 'ebassi/for-master' into 'master'

Ebassi/for master

See merge request GNOME/gtk!1853
This commit is contained in:
Emmanuele Bassi 2020-05-06 22:53:42 +00:00
commit 7686b13a1e
2 changed files with 5 additions and 4 deletions

View File

@ -2827,8 +2827,8 @@ gdk_motion_event_new (GdkSurface *surface,
* Retrieves the history of the @event motion, as a list of time and * Retrieves the history of the @event motion, as a list of time and
* coordinates. * coordinates.
* *
* Returns: (transfer container) (element-type GdkTimeCoord) (nullable): a list * Returns: (transfer container) (array length=out_n_coords) (nullable): an
* of time and coordinates * array of time and coordinates
*/ */
GdkTimeCoord * GdkTimeCoord *
gdk_motion_event_get_history (GdkEvent *event, gdk_motion_event_get_history (GdkEvent *event,

View File

@ -432,10 +432,11 @@ gtk_text_child_anchor_finalize (GObject *obj)
* @anchor: a #GtkTextChildAnchor * @anchor: a #GtkTextChildAnchor
* *
* Gets a list of all widgets anchored at this child anchor. * 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 ** GtkWidget **
gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor, gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor,