From 3e259791f50534d71054c41922a6330925d2af1e Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 30 Aug 2013 18:11:47 +0300 Subject: [PATCH] docs: fix up SignonError --- libgsignon-glib/signon-errors.c | 9 +++++++-- libgsignon-glib/signon-errors.h | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/libgsignon-glib/signon-errors.c b/libgsignon-glib/signon-errors.c index 1ffb301..44feaa0 100644 --- a/libgsignon-glib/signon-errors.c +++ b/libgsignon-glib/signon-errors.c @@ -33,14 +33,19 @@ /** * SECTION:signon-errors * @title: SignonError - * @short_description: Possible errors from Signon. + * @short_description: possible gSSO errors * - * An enumeration of errors that are possible from Signon. + * An enumeration of errors that are possible when using gSSO */ #define SIGNON_ERROR_PREFIX SIGNOND_SERVICE_PREFIX ".Error" #include "signon-errors-map.c" +/** + * signon_error_quark: + * + * Creates and returns a domain for gSSO errors. + */ GQuark signon_error_quark (void) { static volatile gsize quark = 0; diff --git a/libgsignon-glib/signon-errors.h b/libgsignon-glib/signon-errors.h index 423d667..a81a225 100644 --- a/libgsignon-glib/signon-errors.h +++ b/libgsignon-glib/signon-errors.h @@ -29,8 +29,14 @@ #include #include "signon-enum-types.h" +/** + * SIGNON_ERROR: + * + * This macro is used when creating a #GError in libgsignond-glib library + */ #define SIGNON_ERROR (signon_error_quark()) +//FIXME: reuse error definitions from libgsignond-common /** * SignonError: * @SIGNON_ERROR_UNKNOWN: Catch-all for errors not distinguished by another code. -- 2.34.1