Expand documentation about error quark naming
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 2 Aug 2010 13:14:11 +0000 (14:14 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Thu, 5 Aug 2010 07:49:54 +0000 (08:49 +0100)
Closes: bgo#625827

docs/reference/glib/tmpl/error_reporting.sgml

index 858e48e..895fff3 100644 (file)
@@ -257,6 +257,11 @@ g_spawn_error_quark (void)
 </listitem>
 <listitem>
 <para>
+The quark function for the error domain is called <literal>&lt;namespace&gt;_&lt;module&gt;_error_quark</literal>, for example g_spawn_error_quark() or %g_thread_error_quark().
+</para>
+</listitem>
+<listitem>
+<para>
 The error codes are in an enumeration called 
 <literal>&lt;Namespace&gt;&lt;Module&gt;Error</literal>; for example,
 #GThreadError or #GSpawnError.