diff --git a/girepository/giarginfo.c b/girepository/giarginfo.c index 96afccb6fb26c1c0594f13cc60a60f8ed7108762..d991e85c034c943616eaef9576a3f32239e3b2e0 100644 --- a/girepository/giarginfo.c +++ b/girepository/giarginfo.c @@ -245,10 +245,11 @@ g_arg_info_get_scope (GIArgInfo *info) * g_arg_info_get_closure: * @info: a #GIArgInfo * - * Obtain the index of the user data argument. This is only valid - * for arguments which are callbacks. + * Obtain the index of the user data argument bound to this callback + * or the index of the callback argument owning this user data. For arguments + * which are not callbacks or user data, this function returns -1. * - * Returns: index of the user data argument or -1 if there is none + * Returns: index of the related argument or -1 if there is none */ gint g_arg_info_get_closure (GIArgInfo *info)