gvariant: Fix confusion between type and format strings in the docs
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 30 Apr 2014 14:37:30 +0000 (16:37 +0200)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 30 Apr 2014 14:38:43 +0000 (16:38 +0200)
‘@’ 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

index 550cea0..91dd97b 100644 (file)
       </entry>
       <entry colsep='1' rowsep='1'>
        <para>
-        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
         <link linkend='GVariant'>GVariant</link> should be used in place of the normal C type or types.  For
         <link linkend='g-variant-new'><function>g_variant_new()</function></link> this means that you must pass a
         non-<link linkend='NULL:CAPS'><literal>NULL</literal></link> <code>(<link linkend='GVariant'>GVariant</link>
       </entry>
       <entry colsep='1' rowsep='1'>
        <para>
-        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
         <link linkend='gvariant-format-strings-pointers'>Pointers</link> below.
        </para>