[glib: 1/2] docs: fix typo on arrays examples in gvariant-text
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] docs: fix typo on arrays examples in gvariant-text
- Date: Wed, 12 Jun 2019 16:19:47 +0000 (UTC)
commit 51e7ce2c2016a95ad987578c5ee41b27b6175a9a
Author: Simental Magana, Marcos <marcos simental magana intel com>
Date: Wed Jun 12 10:56:07 2019 -0500
docs: fix typo on arrays examples in gvariant-text
example lists [(1, 2), (3, 4.0)], but mentions numbers
1 and 4 being parsed as integrers, this seems wrong as
4.0 its explicitly parsed as double.
Signed-off-by: Simental Magana, Marcos <marcos simental magana intel com>
docs/reference/glib/gvariant-text.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/reference/glib/gvariant-text.xml b/docs/reference/glib/gvariant-text.xml
index 71d07dfb1..90da39c55 100644
--- a/docs/reference/glib/gvariant-text.xml
+++ b/docs/reference/glib/gvariant-text.xml
@@ -380,7 +380,7 @@
inferencing in action.
</para>
<para>
- <literal>[(1, 2), (3, 4.0)]</literal> causes the 2 to also be parsed as a double (but the 1 and 4 are
still
+ <literal>[(1, 2), (3, 4.0)]</literal> causes the 2 to also be parsed as a double (but the 1 and 3 are
still
integers).
</para>
<para>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]