[Pkg-telepathy-commits] [telepathy-mission-control-6] 66/90: McdManager: use tp_client_factory_ensure_connection_manager

Simon McVittie smcv at debian.org
Wed May 14 12:09:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit 21b56fff1b632ebefa2b30b49f7a4ab2d82bc67f
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Apr 1 14:34:56 2014 +0100

    McdManager: use tp_client_factory_ensure_connection_manager
---
 src/mcd-manager.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/mcd-manager.c b/src/mcd-manager.c
index 49d8008..e3b1bdd 100644
--- a/src/mcd-manager.c
+++ b/src/mcd-manager.c
@@ -166,9 +166,8 @@ mcd_manager_setup (McdManager *manager)
 
     priv->slacker = mcd_slacker_new ();
 
-    priv->tp_conn_mgr =
-        tp_connection_manager_new (priv->dbus_daemon, priv->name,
-                                   NULL, &error);
+    priv->tp_conn_mgr = tp_client_factory_ensure_connection_manager (
+        priv->client_factory, priv->name, NULL, &error);
     if (error)
     {
         g_warning ("%s, cannot create manager %s: %s", G_STRFUNC,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list