From 9bccca3b9ade5045a607ab97e90f30813fabede6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 6 Jun 2012 13:49:57 +0200 Subject: tp-chat: use TpProxy accessors https://bugzilla.gnome.org/show_bug.cgi?id=677545 --- libempathy/empathy-tp-chat.c | 6 ++---- 1 file 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); -- cgit v1.2.3