aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-06 19:49:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 15:12:53 +0800
commit9bccca3b9ade5045a607ab97e90f30813fabede6 (patch)
treef58f521a4b57eb0946fda0fe890d4825f2cfc06b /libempathy
parentc9a2ff7e6958751484c0080ccc7184df7ba7d4c3 (diff)
downloadgsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.tar
gsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.tar.gz
gsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.tar.bz2
gsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.tar.lz
gsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.tar.xz
gsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.tar.zst
gsoc2013-empathy-9bccca3b9ade5045a607ab97e90f30813fabede6.zip
tp-chat: use TpProxy accessors
https://bugzilla.gnome.org/show_bug.cgi?id=677545
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 431de6e65..449d19a10 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1100,8 +1100,6 @@ empathy_tp_chat_new (TpSimpleClientFactory *factory,
const gchar *object_path,
const GHashTable *immutable_properties)
{
- TpProxy *conn_proxy = (TpProxy *) conn;
-
g_return_val_if_fail (TP_IS_ACCOUNT (account), NULL);
g_return_val_if_fail (TP_IS_CONNECTION (conn), NULL);
g_return_val_if_fail (immutable_properties != NULL, NULL);
@@ -1110,8 +1108,8 @@ empathy_tp_chat_new (TpSimpleClientFactory *factory,
"factory", factory,
"account", account,
"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,
"channel-properties", immutable_properties,
NULL);