diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-18 22:09:22 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-19 01:18:55 +0800 |
commit | 69983e8165de21075d7e9102fa855c99ffa2290b (patch) | |
tree | c2cb6a8fa43c89edb14132677880fee1837e243e | |
parent | d20fcc3aedd0b76b3ea0307bb69324121f49b555 (diff) | |
download | gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.tar gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.tar.gz gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.tar.bz2 gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.tar.lz gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.tar.xz gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.tar.zst gsoc2013-empathy-69983e8165de21075d7e9102fa855c99ffa2290b.zip |
Update to the new EmpathyTLSCertificate async API
-rw-r--r-- | src/empathy-auth-helper.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-auth-helper.c b/src/empathy-auth-helper.c index 7ed4596c2..b2ea4ebc0 100644 --- a/src/empathy-auth-helper.c +++ b/src/empathy-auth-helper.c @@ -60,9 +60,10 @@ tls_dialog_response_cb (GtkDialog *dialog, gtk_widget_destroy (GTK_WIDGET (dialog)); if (response_id == GTK_RESPONSE_YES) - empathy_tls_certificate_accept (certificate); + empathy_tls_certificate_accept_async (certificate, NULL, NULL); else - empathy_tls_certificate_reject (certificate, reason, TRUE); + empathy_tls_certificate_reject_async (certificate, reason, TRUE, + NULL, NULL); if (remember) empathy_tls_certificate_store_ca (certificate); @@ -109,7 +110,7 @@ verifier_verify_cb (GObject *source, } else { - empathy_tls_certificate_accept (certificate); + empathy_tls_certificate_accept_async (certificate, NULL, NULL); } g_object_unref (certificate); |