Merge branch '919-variant-dict-lookup-docs' into 'main'

gvariant: Document failure behaviour of g_variant_dict_lookup() better

Closes #919

See merge request GNOME/glib!3334
This commit is contained in:
Philip Withnall 2023-03-21 12:07:20 +00:00
commit 23a009b2cb

View File

@ -4036,7 +4036,8 @@ g_variant_dict_init (GVariantDict *dict,
*
* This function is a wrapper around g_variant_dict_lookup_value() and
* g_variant_get(). In the case that %NULL would have been returned,
* this function returns %FALSE. Otherwise, it unpacks the returned
* this function returns %FALSE and does not modify the values of the arguments
* passed in to @.... Otherwise, it unpacks the returned
* value and returns %TRUE.
*
* @format_string determines the C types that are used for unpacking the