[next] telepathy-glib: tp_dbus_daemon_get_unique_name: rewrite using GDBus

Simon McVittie smcv at kemper.freedesktop.org
Thu Mar 27 08:42:05 PDT 2014


Module: telepathy-glib
Branch: next
Commit: bb76b67d22d723244ec3c28f78153f30faeb796a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=bb76b67d22d723244ec3c28f78153f30faeb796a

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Mar 11 18:22:17 2014 +0000

tp_dbus_daemon_get_unique_name: rewrite using GDBus

---

 telepathy-glib/dbus-daemon.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/telepathy-glib/dbus-daemon.c b/telepathy-glib/dbus-daemon.c
index 111ca80..aa5dd69 100644
--- a/telepathy-glib/dbus-daemon.c
+++ b/telepathy-glib/dbus-daemon.c
@@ -865,7 +865,8 @@ tp_dbus_daemon_get_unique_name (TpDBusDaemon *self)
 {
   g_return_val_if_fail (TP_IS_DBUS_DAEMON (self), NULL);
 
-  return dbus_bus_get_unique_name (self->priv->libdbus);
+  return g_dbus_connection_get_unique_name (
+      tp_proxy_get_dbus_connection (self));
 }
 
 typedef struct {



More information about the telepathy-commits mailing list