gvariant: Minor documentation tweak for g_variant_get_fixed_array()

Add a missing clausal comma, and add some backtick formatting.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2017-04-04 15:10:01 +01:00
parent 028a597d64
commit 1b64ddb933

View File

@ -1110,11 +1110,11 @@ g_variant_lookup_value (GVariant *dictionary,
* - %G_VARIANT_TYPE_DOUBLE: #gdouble * - %G_VARIANT_TYPE_DOUBLE: #gdouble
* *
* For example, if calling this function for an array of 32-bit integers, * For example, if calling this function for an array of 32-bit integers,
* you might say sizeof(gint32). This value isn't used except for the purpose * you might say `sizeof(gint32)`. This value isn't used except for the purpose
* of a double-check that the form of the serialised data matches the caller's * of a double-check that the form of the serialised data matches the caller's
* expectation. * expectation.
* *
* @n_elements, which must be non-%NULL is set equal to the number of * @n_elements, which must be non-%NULL, is set equal to the number of
* items in the array. * items in the array.
* *
* Returns: (array length=n_elements) (transfer none): a pointer to * Returns: (array length=n_elements) (transfer none): a pointer to