From 536ba57b78cf03ccbe4b8a439070a8161ae7c30c Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Sun, 10 May 2026 11:25:31 +0200 Subject: [PATCH] gtk: document accel group query array --- gtk/gtkaccelgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.