gactiongroup: Add a missing array termination annotation

It might not actually be needed (I haven’t checked if the default is
correct), but it certainly does no harm and makes things explicit.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-04-12 13:54:56 +01:00
parent 3ec4ba4d1b
commit 978ca4731c
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -344,8 +344,8 @@ g_action_group_default_init (GActionGroupInterface *iface)
* The caller is responsible for freeing the list with [func@GLib.strfreev] when
* it is no longer required.
*
* Returns: (transfer full): a `NULL`-terminated array of the names of the
* actions in the group
* Returns: (transfer full) (array zero-terminated=1): a `NULL`-terminated array
* of the names of the actions in the group
*
* Since: 2.28
**/