Docs: Convert examples to |[ ]|
[platform/upstream/glib.git] / gio / gsettings.c
index 789870c..c166791 100644 (file)
  * access the numeric values corresponding to the string value of enum
  * and flags keys.
  *
- * <example id="schema-default-values"><title>Default values</title>
- * <programlisting><![CDATA[
+ * An example for default value:
+ * |[
  * <schemalist>
  *   <schema id="org.gtk.Test" path="/org/gtk/Test/" gettext-domain="test">
  *
  *
  *   </schema>
  * </schemalist>
- * ]]></programlisting></example>
+ * ]|
  *
- * <example id="schema-enumerated"><title>Ranges, choices and enumerated types</title>
- * <programlisting><![CDATA[
+ * An example for ranges, choices and enumerated types:
+ * |[
  * <schemalist>
  *
  *   <enum id="org.gtk.Test.myenum">
  *     </key>
  *   </schema>
  * </schemalist>
- * ]]></programlisting></example>
+ * ]|
  *
  * <refsect2>
  *   <title>Vendor overrides</title>
  *     directory as the XML schema sources which can override default values.
  *     The schema id serves as the group name in the key file, and the values
  *     are expected in serialized GVariant form, as in the following example:
- *     <informalexample><programlisting>
+ *     |[
  *     [org.gtk.Example]
  *     key1='string'
  *     key2=1.5
- *     </programlisting></informalexample>
+ *     ]|
  *   </para>
  *   <para>
  *     glib-compile-schemas expects schema files to have the extension