summaryrefslogtreecommitdiff
path: root/telepathy-logger
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-26 12:26:54 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-26 16:02:49 +0200
commit48a0b475ea349abda6963e576315c546440af2b3 (patch)
treea5ea8701889d7d995dc3600cd962c6e3eca8d247 /telepathy-logger
parentb2a2aeae630cc8ee049734620d8d1117b1079874 (diff)
downloadtelepathy-logger-48a0b475ea349abda6963e576315c546440af2b3.tar.gz
stop using tp-glib sealed variables
https://bugs.freedesktop.org/show_bug.cgi?id=69846
Diffstat (limited to 'telepathy-logger')
-rw-r--r--telepathy-logger/call-channel.c5
-rw-r--r--telepathy-logger/text-channel.c5
2 files changed, 4 insertions, 6 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,
diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c
index f34eeec..edfea1d 100644
--- a/telepathy-logger/text-channel.c
+++ b/telepathy-logger/text-channel.c
@@ -703,7 +703,6 @@ _tpl_text_channel_new_with_factory (TpSimpleClientFactory *factory,
const GHashTable *tp_chan_props,
GError **error)
{
- TpProxy *conn_proxy = TP_PROXY (conn);
TplTextChannel *self;
/* Do what tpl_channel_new does + set TplTextChannel specific */
@@ -719,8 +718,8 @@ _tpl_text_channel_new_with_factory (TpSimpleClientFactory *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),
+ "bus-name", tp_proxy_get_bus_name (conn),
"object-path", object_path,
"handle-type", (guint) TP_UNKNOWN_HANDLE_TYPE,
"channel-properties", tp_chan_props,