[glib/glib-2-52] gvariant: Minor documentation tweak for g_variant_get_fixed_array()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-52] gvariant: Minor documentation tweak for g_variant_get_fixed_array()
- Date: Sat, 8 Apr 2017 05:49:59 +0000 (UTC)
commit 6d56878b7566fc36496e8797da90914dd92bd326
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]