mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01:00
Expand documentation about error quark naming
Closes: bgo#625827
This commit is contained in:
parent
008615f999
commit
abe820e0d9
@ -257,6 +257,11 @@ g_spawn_error_quark (void)
|
|||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
The quark function for the error domain is called <literal><namespace>_<module>_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
|
The error codes are in an enumeration called
|
||||||
<literal><Namespace><Module>Error</literal>; for example,
|
<literal><Namespace><Module>Error</literal>; for example,
|
||||||
#GThreadError or #GSpawnError.
|
#GThreadError or #GSpawnError.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user