diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-05-06 19:28:33 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-05-06 23:05:19 +0100 |
commit | ddd113ac984db56c3297ff80dfd3f259594ac038 (patch) | |
tree | c168eb23e27a1e63852b8a7eec3c62455422fd8c /gdk/gdkevents.c | |
parent | 962de8f1ee34319f7035103cb13244f4bc6466fe (diff) | |
download | gtk+-ddd113ac984db56c3297ff80dfd3f259594ac038.tar.gz |
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.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r-- | gdk/gdkevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index f1cae55a4f..d514e64b04 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -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, |