[glib] gvariant: Minor documentation tweak for g_variant_get_fixed_array()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gvariant: Minor documentation tweak for g_variant_get_fixed_array()
- Date: Tue, 4 Apr 2017 14:10:39 +0000 (UTC)
commit 1b64ddb933f263c7e544d9b059a2970e014039c8
Author: Philip Withnall <withnall endlessm com>
Date: Tue Apr 4 15:10:01 2017 +0100
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>
glib/gvariant.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index a57b2fb..7b533b8 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]