summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-03-25 00:38:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-03-25 10:53:27 -0400
commit79d152b7fff8d290aa68e8120787a4508295272f (patch)
tree820bdcaa577b4242673980d3aa340c275f0c0eb9 /lib
parent38ce9f5cfa46c317830efc7e46941ef44b7a4119 (diff)
downloadxdg-app-79d152b7fff8d290aa68e8120787a4508295272f.tar.gz
XdgAppError: Add documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/xdg-app-error.c6
-rw-r--r--lib/xdg-app-error.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/xdg-app-error.c b/lib/xdg-app-error.c
index f40664a..76984bc 100644
--- a/lib/xdg-app-error.c
+++ b/lib/xdg-app-error.c
@@ -25,4 +25,10 @@
#include <gio/gio.h>
+/**
+ * SECTION:xdg-app-error
+ * @Title: Error codes
+ *
+ */
+
G_DEFINE_QUARK (xdg-app-error-quark, g_io_error)
diff --git a/lib/xdg-app-error.h b/lib/xdg-app-error.h
index b2f371e..4cbda5b 100644
--- a/lib/xdg-app-error.h
+++ b/lib/xdg-app-error.h
@@ -30,6 +30,8 @@ G_BEGIN_DECLS
* XdgAppError:
* @XDG_APP_ERROR_ALREADY_INSTALLED: App/runtime is already installed
* @XDG_APP_ERROR_NOT_INSTALLED: App/runtime is not installed
+ *
+ * Error codes for library functions.
*/
typedef enum {
XDG_APP_ERROR_ALREADY_INSTALLED,