[glib] Expand documentation about error quark naming
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Expand documentation about error quark naming
- Date: Thu, 5 Aug 2010 07:50:12 +0000 (UTC)
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><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
<literal><Namespace><Module>Error</literal>; for example,
#GThreadError or #GSpawnError.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]