summaryrefslogtreecommitdiff
path: root/rest/rest-oauth2-proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'rest/rest-oauth2-proxy.h')
-rw-r--r--rest/rest-oauth2-proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest/rest-oauth2-proxy.h b/rest/rest-oauth2-proxy.h
index dd4148e..c63d33e 100644
--- a/rest/rest-oauth2-proxy.h
+++ b/rest/rest-oauth2-proxy.h
@@ -37,10 +37,10 @@ struct _RestOAuth2ProxyClass
gpointer padding[8];
};
-enum {
+typedef enum {
REST_OAUTH2_ERROR_NO_REFRESH_TOKEN,
REST_OAUTH2_ERROR_ACCESS_TOKEN_EXPIRED,
-};
+} RestOAuth2Error;
#define REST_OAUTH2_ERROR rest_oauth2_error_quark ()
GQuark rest_oauth2_error_quark ();