Expand documentation about error quark naming

Closes: bgo#625827
This commit is contained in:
Philip Withnall 2010-08-02 14:14:11 +01:00 committed by Philip Withnall
parent 008615f999
commit abe820e0d9

View 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.