[glib] Expand documentation about error quark naming



commit abe820e0d935f41744292146c71ccc4cf479751e
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Aug 2 14:14:11 2010 +0100

    Expand documentation about error quark naming
    
    Closes: bgo#625827

 docs/reference/glib/tmpl/error_reporting.sgml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/glib/tmpl/error_reporting.sgml b/docs/reference/glib/tmpl/error_reporting.sgml
index 858e48e..895fff3 100644
--- a/docs/reference/glib/tmpl/error_reporting.sgml
+++ b/docs/reference/glib/tmpl/error_reporting.sgml
@@ -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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]