diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-09-27 20:22:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-09-27 22:45:01 +0800 |
commit | 2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68 (patch) | |
tree | 1c248eec355592a0a8544e58de313bceb4a0860a /mail | |
parent | 6d68c41da73744865afb2ddcdf6b0c82ce9fc6fb (diff) | |
download | gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.tar gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.tar.gz gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.tar.bz2 gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.tar.lz gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.tar.xz gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.tar.zst gsoc2013-evolution-2ff0a3ccf07e653bd169ab0721ad1b72bbfe3a68.zip |
Adapt to CamelSession trust_prompt() changes.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-ui-session.c | 12 | ||||
-rw-r--r-- | mail/e-mail-ui-session.h | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/mail/e-mail-ui-session.c b/mail/e-mail-ui-session.c index b9e2690744..f76b94c142 100644 --- a/mail/e-mail-ui-session.c +++ b/mail/e-mail-ui-session.c @@ -678,16 +678,14 @@ e_mail_ui_session_alert_user (CamelSession *session, CamelCertTrust e_mail_ui_session_trust_prompt (CamelSession *session, - const gchar *host, - const gchar *certificate, - guint32 certificate_errors, - GList *issuers, - GCancellable *cancellable) + CamelService *service, + GTlsCertificate *certificate, + GTlsCertificateFlags errors) { g_type_ensure (E_TYPE_MAIL_UI_SESSION); - return CAMEL_SESSION_CLASS (e_mail_ui_session_parent_class)->trust_prompt ( - session, host, certificate, certificate_errors, issuers, cancellable); + return CAMEL_SESSION_CLASS (e_mail_ui_session_parent_class)-> + trust_prompt (session, service, certificate, errors); } static CamelFilterDriver * diff --git a/mail/e-mail-ui-session.h b/mail/e-mail-ui-session.h index 9950219728..c73338c987 100644 --- a/mail/e-mail-ui-session.h +++ b/mail/e-mail-ui-session.h @@ -92,11 +92,9 @@ gint e_mail_ui_session_alert_user (CamelSession *session, GList *button_captions, GCancellable *cancellable); CamelCertTrust e_mail_ui_session_trust_prompt (CamelSession *session, - const gchar *host, - const gchar *certificate, - guint32 certificate_errors, - GList *issuers, - GCancellable *cancellable); + CamelService *service, + GTlsCertificate *certificate, + GTlsCertificateFlags errors); gboolean e_mail_ui_session_check_known_address_sync (EMailUISession *session, CamelInternetAddress *addr, |