Annotate gdk_motion_event_get_history() correctly

We moved from returning a list to returning a C array, and this requires
a change in the annotations.
This commit is contained in:
Emmanuele Bassi 2020-05-06 19:28:33 +01:00
parent 962de8f1ee
commit ddd113ac98

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
* coordinates.
*
* Returns: (transfer container) (element-type GdkTimeCoord) (nullable): a list
* of time and coordinates
* Returns: (transfer container) (array length=out_n_coords) (nullable): an
* array of time and coordinates
*/
GdkTimeCoord *
gdk_motion_event_get_history (GdkEvent *event,