G_DEFINE_QUARK (g-variant-parse-error-quark, g_variant_parse_error)
/**
+ * g_variant_parser_get_error_quark:
+ *
* Deprecated: Use g_variant_parse_error_quark() instead.
*/
GQuark
* g_variant_new() would have collected.
*
* Consider this simple example:
- *
- * <informalexample><programlisting>
+ * |[<!-- language="C" -->
* g_variant_new_parsed ("[('one', 1), ('two', %i), (%s, 3)]", 2, "three");
- * </programlisting></informalexample>
+ * ]|
*
* In the example, the variable argument parameters are collected and
* filled in as if they were part of the original string to produce the
- * result of <code>[('one', 1), ('two', 2), ('three', 3)]</code>.
+ * result of
+ * |[<!-- language="C" -->
+ * [('one', 1), ('two', 2), ('three', 3)]
+ * ]|
*
* This function is intended only to be used with @format as a string
* literal. Any parse error is fatal to the calling process. If you
*
* This function might be used as follows:
*
- * |[
+ * |[<!-- language="C" -->
* GVariant *
* make_pointless_dictionary (void)
* {