From fca1b83be74c9840037cfee84015fd8460cc33f9 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 30 Apr 2014 16:37:30 +0200 Subject: [PATCH] gvariant: Fix confusion between type and format strings in the docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘@’ and ‘&’ are only used in format strings, not type strings. https://bugzilla.gnome.org/show_bug.cgi?id=729269 --- docs/reference/glib/gvariant-varargs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/glib/gvariant-varargs.xml b/docs/reference/glib/gvariant-varargs.xml index 550cea008..91dd97b68 100644 --- a/docs/reference/glib/gvariant-varargs.xml +++ b/docs/reference/glib/gvariant-varargs.xml @@ -221,7 +221,7 @@ - Used as a prefix on a GVariant type string (not format string). Denotes that a pointer to a + Used as a prefix on a GVariant format string (not type string). Denotes that a pointer to a GVariant should be used in place of the normal C type or types. For g_variant_new() this means that you must pass a non-NULL (GVariant @@ -260,7 +260,7 @@ - Used as a prefix on a GVariant type string (not format string). Denotes that a C pointer to serialised data + Used as a prefix on a GVariant format string (not type string). Denotes that a C pointer to serialised data should be used in place of the normal C type. See Pointers below.