+2007-09-11 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/tmpl/error_reporting.sgml: Add an example. (#474229,
+ Rob Bradford)
+
2007-09-09 Behdad Esfahbod <behdad@gnome.org>
* glib/tmpl/warnings.sgml: Improve G_BREAKPOINT docs. (#474899)
<itemizedlist>
<listitem>
<para>
-The error domain is called
+The error domain is called
<literal><NAMESPACE>_<MODULE>_ERROR</literal>, for example
-%G_EXEC_ERROR or %G_THREAD_ERROR.
+%G_SPAWN_ERROR or %G_THREAD_ERROR:
+<informalexample><programlisting>
+#define G_SPAWN_ERROR g_spawn_error_quark (<!-- -->)
+
+GQuark
+g_spawn_error_quark (void)
+{
+ return g_quark_from_static_string ("g-spawn-error-quark");
+}
+</programlisting></informalexample>
</para>
</listitem>
<listitem>