gvarianttype: Add two missing (nullable) annotations

Spotted while working on the docs (see the following commit).

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-10-01 19:54:40 +01:00
parent 17124abc7e
commit fecf2b2e7b
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -950,8 +950,8 @@ g_variant_type_element (const GVariantType *type)
* This call, together with g_variant_type_next() provides an iterator * This call, together with g_variant_type_next() provides an iterator
* interface over tuple and dictionary entry types. * interface over tuple and dictionary entry types.
* *
* Returns: (transfer none): the first item type of @type, or %NULL * Returns: (transfer none) (nullable): the first item type of @type, or %NULL
* * if the type has no item types
* Since 2.24 * Since 2.24
**/ **/
const GVariantType * const GVariantType *
@ -986,7 +986,8 @@ g_variant_type_first (const GVariantType *type)
* *
* For tuples, %NULL is returned when @type is the last item in a tuple. * For tuples, %NULL is returned when @type is the last item in a tuple.
* *
* Returns: (transfer none): the next #GVariantType after @type, or %NULL * Returns: (transfer none) (nullable): the next type after @type, or %NULL if
* there are no further types
* *
* Since 2.24 * Since 2.24
**/ **/