[empathy: 41/65] Update to the new EmpathyTLSCertificate async API
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 41/65] Update to the new EmpathyTLSCertificate async API
- Date: Tue, 24 Aug 2010 13:29:54 +0000 (UTC)
commit 69983e8165de21075d7e9102fa855c99ffa2290b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Aug 18 16:09:22 2010 +0200
Update to the new EmpathyTLSCertificate async API
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 7ed4596..b2ea4eb 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]