From 2bc6ae25591a89e8a7ab4179c54ddf0febf26bb0 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 12 Jan 2013 11:34:50 -0500 Subject: [PATCH] Move ETrustPromptResponse to e-source-enums.h. --- libedataserver/e-source-enums.h | 15 +++++++++++++++ libedataserver/e-source-webdav.h | 9 +-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/libedataserver/e-source-enums.h b/libedataserver/e-source-enums.h index 8e7bf05..40cdb48 100644 --- a/libedataserver/e-source-enums.h +++ b/libedataserver/e-source-enums.h @@ -63,4 +63,19 @@ typedef enum { E_SOURCE_AUTHENTICATION_REJECTED } ESourceAuthenticationResult; +/** + * ETrustPromptResponse: + * + * XXX Document me! + * + * Since: 3.8 + **/ +typedef enum { + E_TRUST_PROMPT_RESPONSE_UNKNOWN = -1, + E_TRUST_PROMPT_RESPONSE_REJECT = 0, + E_TRUST_PROMPT_RESPONSE_ACCEPT = 1, + E_TRUST_PROMPT_RESPONSE_ACCEPT_TEMPORARILY = 2, + E_TRUST_PROMPT_RESPONSE_REJECT_TEMPORARILY = 3 +} ETrustPromptResponse; + #endif /* E_SOURCE_ENUMS_H */ diff --git a/libedataserver/e-source-webdav.h b/libedataserver/e-source-webdav.h index 7209160..fce6907 100644 --- a/libedataserver/e-source-webdav.h +++ b/libedataserver/e-source-webdav.h @@ -24,6 +24,7 @@ #define E_SOURCE_WEBDAV_H #include +#include #include /* Standard GObject macros */ @@ -82,14 +83,6 @@ struct _ESourceWebdavClass { ESourceExtensionClass parent_class; }; -typedef enum { - E_TRUST_PROMPT_RESPONSE_UNKNOWN = -1, - E_TRUST_PROMPT_RESPONSE_REJECT = 0, - E_TRUST_PROMPT_RESPONSE_ACCEPT = 1, - E_TRUST_PROMPT_RESPONSE_ACCEPT_TEMPORARILY = 2, - E_TRUST_PROMPT_RESPONSE_REJECT_TEMPORARILY = 3 -} ETrustPromptResponse; - GType e_source_webdav_get_type (void) G_GNUC_CONST; gboolean e_source_webdav_get_avoid_ifmatch (ESourceWebdav *extension); -- 2.7.4