diff options
-rw-r--r-- | libempathy/empathy-tls-certificate.c | 7 | ||||
-rw-r--r-- | libempathy/empathy-tls-certificate.h | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c index acdbcec93..bed01327c 100644 --- a/libempathy/empathy-tls-certificate.c +++ b/libempathy/empathy-tls-certificate.c @@ -457,11 +457,10 @@ empathy_tls_certificate_accept_finish (EmpathyTLSCertificate *self, void empathy_tls_certificate_reject_async (EmpathyTLSCertificate *self, EmpTLSCertificateRejectReason reason, - gboolean user_requested, + GHashTable *details, GAsyncReadyCallback callback, gpointer user_data) { - GHashTable *details; const gchar *dbus_error; GSimpleAsyncResult *reject_result; EmpathyTLSCertificatePriv *priv = GET_PRIV (self); @@ -471,16 +470,12 @@ empathy_tls_certificate_reject_async (EmpathyTLSCertificate *self, DEBUG ("Rejecting TLS certificate with reason %u", reason); dbus_error = reject_reason_get_dbus_error (reason); - details = tp_asv_new ("user-requested", G_TYPE_BOOLEAN, user_requested, - NULL); reject_result = g_simple_async_result_new (G_OBJECT (self), callback, user_data, empathy_tls_certificate_reject_async); emp_cli_authentication_tls_certificate_call_reject (priv->proxy, -1, reason, dbus_error, details, cert_proxy_reject_cb, reject_result, g_object_unref, G_OBJECT (self)); - - g_hash_table_unref (details); } gboolean diff --git a/libempathy/empathy-tls-certificate.h b/libempathy/empathy-tls-certificate.h index 3a606c602..7066e5119 100644 --- a/libempathy/empathy-tls-certificate.h +++ b/libempathy/empathy-tls-certificate.h @@ -75,7 +75,7 @@ gboolean empathy_tls_certificate_accept_finish (EmpathyTLSCertificate *self, void empathy_tls_certificate_reject_async (EmpathyTLSCertificate *self, EmpTLSCertificateRejectReason reason, - gboolean user_requested, + GHashTable *details, GAsyncReadyCallback callback, gpointer user_data); gboolean empathy_tls_certificate_reject_finish (EmpathyTLSCertificate *self, |