[empathy] empathy-handler: stop using tp_get_bus



commit bc2eade547a04c1324b3cfc563353d9b06dff1aa
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Apr 1 13:47:38 2010 +0200

    empathy-handler: stop using tp_get_bus
    
    It has been deprecated.

 libempathy/empathy-handler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-handler.c b/libempathy/empathy-handler.c
index 8cfa419..20850cd 100644
--- a/libempathy/empathy-handler.c
+++ b/libempathy/empathy-handler.c
@@ -105,7 +105,7 @@ handler_constructor (GType type,
   DEBUG ("Registering at %s, %s", priv->busname, object_path);
   g_assert (tp_dbus_daemon_request_name (dbus,
     priv->busname, TRUE, NULL));
-  dbus_g_connection_register_g_object (tp_get_bus (),
+  dbus_g_connection_register_g_object (tp_proxy_get_dbus_connection (dbus),
     object_path, obj);
 
 



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