aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-07-23 01:27:07 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-13 22:22:22 +0800
commit7a8b4058baa7f61cf93aa41076047a6f08d0eecb (patch)
tree29b57d3402146fa8768bc61afa18c839f74ffe22
parent6ce5a087dad56816cb895dbdb2b30ac3a0c1f9a4 (diff)
downloadgsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.tar
gsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.tar.gz
gsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.tar.bz2
gsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.tar.lz
gsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.tar.xz
gsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.tar.zst
gsoc2013-empathy-7a8b4058baa7f61cf93aa41076047a6f08d0eecb.zip
Add the Authentication.TLSCertificate iface
-rw-r--r--libempathy/empathy-tls-certificate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index d50cb6a87..bc5dff0f3 100644
--- a/libempathy/empathy-tls-certificate.c
+++ b/libempathy/empathy-tls-certificate.c
@@ -22,6 +22,8 @@
#include "empathy-tls-certificate.h"
+#include <telepathy-glib/proxy-subclass.h>
+
#define DEBUG_FLAG EMPATHY_DEBUG_TLS
#include "empathy-debug.h"
#include "empathy-utils.h"
@@ -158,6 +160,9 @@ tls_certificate_init_async (GAsyncInitable *initable,
"bus-name", priv->bus_name,
"dbus-daemon", dbus, NULL);
+ tp_proxy_add_interface_by_id (priv->proxy,
+ EMP_IFACE_QUARK_AUTHENTICATION_TLS_CERTIFICATE);
+
/* call GetAll() on the certificate */
tp_cli_dbus_properties_call_get_all (priv->proxy,
-1, EMP_IFACE_AUTHENTICATION_TLS_CERTIFICATE,