[grilo] core: Add GRL_CORE_ERROR_AUTHENTICATION_TOKEN
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Add GRL_CORE_ERROR_AUTHENTICATION_TOKEN
- Date: Tue, 21 Apr 2015 14:57:14 +0000 (UTC)
commit 4c02c33218fe54ef6ba34b4852fca32a21d7483a
Author: George Sedov <radist morse gmail com>
Date: Wed Mar 4 17:56:32 2015 +0300
core: Add GRL_CORE_ERROR_AUTHENTICATION_TOKEN
Add an error type for problems with authentication tokens
that require user attention, such as a VK oauth token that
requires re-login.
https://bugzilla.gnome.org/show_bug.cgi?id=744238
src/grl-error.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-error.h b/src/grl-error.h
index 8c48625..13ea3d9 100644
--- a/src/grl-error.h
+++ b/src/grl-error.h
@@ -49,6 +49,7 @@
* @GRL_CORE_ERROR_REGISTER_METADATA_KEY_FAILED: Failed to register metadata key
* @GRL_CORE_ERROR_NOTIFY_CHANGED_FAILED: Failed to start changed notifications
* @GRL_CORE_ERROR_OPERATION_CANCELLED: The operation was cancelled
+ * @GRL_CORE_ERROR_AUTHENTICATION_TOKEN: Invalid authentication token
*
* These constants identify all the available core errors
*/
@@ -70,7 +71,8 @@ typedef enum {
GRL_CORE_ERROR_UNLOAD_PLUGIN_FAILED,
GRL_CORE_ERROR_REGISTER_METADATA_KEY_FAILED,
GRL_CORE_ERROR_NOTIFY_CHANGED_FAILED,
- GRL_CORE_ERROR_OPERATION_CANCELLED
+ GRL_CORE_ERROR_OPERATION_CANCELLED,
+ GRL_CORE_ERROR_AUTHENTICATION_TOKEN
} GrlCoreError;
#endif /* _GRL_ERROR_H_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]