From 27fcba0eacca6f2dc118ff5c0d7e5ec5489be8bf Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Wed, 8 Aug 2012 10:03:15 +0100 Subject: {call,text}-channel: use TpProxy accessors The struct members have been sealed. Signed-off-by: Jonny Lamb --- telepathy-logger/call-channel.c | 4 ++-- telepathy-logger/text-channel.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/telepathy-logger/call-channel.c b/telepathy-logger/call-channel.c index 4afe893..d2e3c78 100644 --- a/telepathy-logger/call-channel.c +++ b/telepathy-logger/call-channel.c @@ -481,8 +481,8 @@ _tpl_call_channel_new_with_factory (TpClientFactory *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_proxy), + "bus-name", tp_proxy_get_bus_name (conn_proxy), "object-path", object_path, "handle-type", (guint) TP_UNKNOWN_HANDLE_TYPE, "channel-properties", tp_chan_props, diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c index 3b1f84d..3225ecb 100644 --- a/telepathy-logger/text-channel.c +++ b/telepathy-logger/text-channel.c @@ -720,8 +720,8 @@ _tpl_text_channel_new_with_factory (TpClientFactory *factory, /* TpChannel properties */ "factory", factory, "connection", conn, - "dbus-daemon", conn_proxy->dbus_daemon, - "bus-name", conn_proxy->bus_name, + "dbus-daemon", tp_proxy_get_dbus_daemon (conn_proxy), + "bus-name", tp_proxy_get_bus_name (conn_proxy), "object-path", object_path, "handle-type", (guint) TP_UNKNOWN_HANDLE_TYPE, "channel-properties", tp_chan_props, -- cgit v1.2.1