From 8cc03f8cd8baf90ad92e930ae91f6678da21c9f6 Mon Sep 17 00:00:00 2001 From: "Geyslan G. Bem" Date: Fri, 7 May 2021 08:42:44 -0300 Subject: [PATCH] docs: Standardize spelling of serializ* Changes serialis* to serializ* as proposed in #2399. Signed-off-by: Geyslan G. Bem --- docs/reference/gio/gsettings.xml | 4 ++-- docs/reference/glib/gvariant-varargs.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/gio/gsettings.xml b/docs/reference/gio/gsettings.xml index d7dc65db6..5f720d6e7 100644 --- a/docs/reference/gio/gsettings.xml +++ b/docs/reference/gio/gsettings.xml @@ -136,7 +136,7 @@ the dconf database. Gets the value of KEY. -The value is printed out as a serialised +The value is printed out as a serialized GVariant. @@ -175,7 +175,7 @@ Queries the description of valid values for KEY. Sets the value of KEY to -VALUE. The value is specified as a serialised +VALUE. The value is specified as a serialized GVariant. diff --git a/docs/reference/glib/gvariant-varargs.xml b/docs/reference/glib/gvariant-varargs.xml index cd9002ca5..bab12e31e 100644 --- a/docs/reference/glib/gvariant-varargs.xml +++ b/docs/reference/glib/gvariant-varargs.xml @@ -263,7 +263,7 @@ Used as a prefix for a GVariant type string (not a prefix for a format string, so &s is a valid format string but &@s is not). - Denotes that a C pointer to serialised data + Denotes that a C pointer to serialized data should be used in place of the normal C type. See Pointers below. @@ -946,7 +946,7 @@ data = g_variant_new_parsed ("(%o, {'brightness': {'value': <%i>, 'max': <%i>}}) - The '&' character is used to indicate that serialised data should be directly exchanged via a + The '&' character is used to indicate that serialized data should be directly exchanged via a pointer. @@ -954,7 +954,7 @@ data = g_variant_new_parsed ("(%o, {'brightness': {'value': <%i>, 'max': <%i>}}) '&o' or '&g'). For g_variant_new() this has absolutely no effect. The string is collected and duplicated normally. For g_variant_get() - it means that instead of creating a newly allocated copy of the string, a pointer to the serialised data is + it means that instead of creating a newly allocated copy of the string, a pointer to the serialized data is returned. This pointer should not be freed. Validity checks are performed to ensure that the string data will always be properly nul-terminated.