summaryrefslogtreecommitdiff
path: root/telepathy-logger/call-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-logger/call-channel.c')
-rw-r--r--telepathy-logger/call-channel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/telepathy-logger/call-channel.c b/telepathy-logger/call-channel.c
index 5ef6766..f8e57c0 100644
--- a/telepathy-logger/call-channel.c
+++ b/telepathy-logger/call-channel.c
@@ -463,7 +463,6 @@ _tpl_call_channel_new_with_factory (TpSimpleClientFactory *factory,
const GHashTable *tp_chan_props,
GError **error)
{
- TpProxy *conn_proxy = TP_PROXY (conn);
TplCallChannel *self;
/* Do what tpl_channel_new does + set TplCallChannel
@@ -479,8 +478,8 @@ _tpl_call_channel_new_with_factory (TpSimpleClientFactory *factory,
self = g_object_new (TPL_TYPE_CALL_CHANNEL,
"factory", factory,
"connection", conn,
- "dbus-daemon", conn_proxy->dbus_daemon,
- "bus-name", conn_proxy->bus_name,
+ "dbus-daemon", tp_proxy_get_dbus_daemon (conn),
+ "bus-name", tp_proxy_get_bus_name (conn),
"object-path", object_path,
"handle-type", (guint) TP_UNKNOWN_HANDLE_TYPE,
"channel-properties", tp_chan_props,