[empathy: 9/65] Add the Authentication.TLSCertificate iface



commit 7a8b4058baa7f61cf93aa41076047a6f08d0eecb
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jul 22 19:27:07 2010 +0200

    Add the Authentication.TLSCertificate iface

 libempathy/empathy-tls-certificate.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-tls-certificate.c b/libempathy/empathy-tls-certificate.c
index d50cb6a..bc5dff0 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]