Merge branch 'fix/gclosure-invoke-type-annotation' into 'main'

gclosure: Fix the invoke() return_value annotation

See merge request GNOME/glib!2181
This commit is contained in:
Philip Withnall 2021-07-09 11:52:07 +00:00
commit cd93c350a2

View File

@ -761,7 +761,7 @@ g_closure_remove_finalize_notifier (GClosure *closure,
/**
* g_closure_invoke:
* @closure: a #GClosure
* @return_value: (optional) (out): a #GValue to store the return
* @return_value: (optional) (inout): a #GValue to store the return
* value. May be %NULL if the callback of @closure
* doesn't return a value.
* @n_param_values: the length of the @param_values array