diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2022-08-09 11:33:04 +0200 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2022-08-09 11:43:58 +0200 |
commit | a030c1f564dd971cd530d967dc94bf5a5bb217aa (patch) | |
tree | 8e694ef316c5de9367e513f772bf3d096cae323b | |
parent | 89c2b46fcad2b4b168e14b62a794417036532208 (diff) | |
download | librest-a030c1f564dd971cd530d967dc94bf5a5bb217aa.tar.gz |
Name the RestOAuth2Error enum
This allows it to be used in the GObject introspection
-rw-r--r-- | rest/rest-oauth2-proxy.h | 4 |
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 (); |