summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-04-04 15:10:01 +0100
committerPhilip Withnall <withnall@endlessm.com>2017-04-04 15:10:01 +0100
commit1b64ddb933f263c7e544d9b059a2970e014039c8 (patch)
tree28f034cc1998265a181ca4ed74c495d09ce9c904
parent028a597d6452f611322f0c0352e51e8a6677cb55 (diff)
downloadglib-1b64ddb933f263c7e544d9b059a2970e014039c8.tar.gz
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>
-rw-r--r--glib/gvariant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gvariant.c b/glib/gvariant.c
index a57b2fb69..7b533b86c 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -1110,11 +1110,11 @@ g_variant_lookup_value (GVariant *dictionary,
* - %G_VARIANT_TYPE_DOUBLE: #gdouble
*
* 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
* 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.
*
* Returns: (array length=n_elements) (transfer none): a pointer to