aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-handler.c')
-rw-r--r--libempathy/empathy-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-handler.c b/libempathy/empathy-handler.c
index 8cfa41942..20850cd60 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);