[next] telepathy-logger: {call,text}-channel: use TpProxy accessors
Jonny Lamb
jonny at kemper.freedesktop.org
Wed Aug 8 03:41:16 PDT 2012
Module: telepathy-logger
Branch: next
Commit: 27fcba0eacca6f2dc118ff5c0d7e5ec5489be8bf
URL: http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=27fcba0eacca6f2dc118ff5c0d7e5ec5489be8bf
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Wed Aug 8 10:03:15 2012 +0100
{call,text}-channel: use TpProxy accessors
The struct members have been sealed.
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
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,
More information about the telepathy-commits
mailing list