diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index d589a4cc9..07f81e36e 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -806,7 +806,9 @@ _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, * @accel_key: key value of the accelerator * @accel_mods: modifier combination of the accelerator * @n_entries: (allow-none): location to return the number of entries found, or %NULL - * @returns: (allow-none): an array of @n_entries #GtkAccelGroupEntry elements, or %NULL. The array is owned by GTK+ and must not be freed. + * @returns: (allow-none) (transfer none) (array length=n_entries): an array + * of @n_entries #GtkAccelGroupEntry elements, or %NULL. The array is owned + * by GTK+ and must not be freed. * * Queries an accelerator group for all entries matching @accel_key and * @accel_mods.