summaryrefslogtreecommitdiff
path: root/telepathy-glib/tls-certificate.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-19 15:33:32 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-09 12:14:11 +0200
commitbf363ee4d8a1c6c20c0a80708655dd2872ae22bf (patch)
treeba2c99b8b55d5a56d43a72ce23598752bc428c6a /telepathy-glib/tls-certificate.h
parent5abd182c71d56445f303c04338a1e0a2167832de (diff)
downloadtelepathy-glib-bf363ee4d8a1c6c20c0a80708655dd2872ae22bf.tar.gz
Use TpTLSCertificateRejection
Diffstat (limited to 'telepathy-glib/tls-certificate.h')
-rw-r--r--telepathy-glib/tls-certificate.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/telepathy-glib/tls-certificate.h b/telepathy-glib/tls-certificate.h
index 2a9a75efb..2ead479dc 100644
--- a/telepathy-glib/tls-certificate.h
+++ b/telepathy-glib/tls-certificate.h
@@ -29,6 +29,7 @@
#include <telepathy-glib/channel.h>
#include <telepathy-glib/enums.h>
#include <telepathy-glib/proxy.h>
+#include <telepathy-glib/tls-certificate-rejection.h>
G_BEGIN_DECLS
@@ -76,15 +77,12 @@ TpTLSCertificate *tp_tls_certificate_new (TpProxy *conn_or_chan,
const gchar *object_path,
GError **error);
-const GError *tp_tls_certificate_get_rejection (TpTLSCertificate *self,
- TpTLSCertificateRejectReason *reason,
- const gchar **dbus_error,
- const GVariant **details);
-const GError *tp_tls_certificate_get_nth_rejection (TpTLSCertificate *self,
- guint n,
- TpTLSCertificateRejectReason *reason,
- const gchar **dbus_error,
- const GVariant **details);
+TpTLSCertificateRejection *tp_tls_certificate_get_rejection (
+ TpTLSCertificate *self);
+
+TpTLSCertificateRejection *tp_tls_certificate_get_nth_rejection (
+ TpTLSCertificate *self,
+ guint n);
void tp_tls_certificate_accept_async (TpTLSCertificate *self,
GAsyncReadyCallback callback,