diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-02 19:37:42 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-05 16:13:52 +0800 |
commit | 73845ad550f78190379cfa74a4b9e4ecefa6b241 (patch) | |
tree | 4c000527f94e6b95b418b017e5d54377d73b35ed | |
parent | 23e70b8d3b88b893d3dd5ab818b5243d215bd48e (diff) | |
download | gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.tar gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.tar.gz gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.tar.bz2 gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.tar.lz gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.tar.xz gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.tar.zst gsoc2013-empathy-73845ad550f78190379cfa74a4b9e4ecefa6b241.zip |
connect sigs using tp_g_signal_connect_object
-rw-r--r-- | libempathy/empathy-tp-chat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index be266e66a..b77fbb216 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -1243,9 +1243,9 @@ tp_chat_constructor (GType type, priv = GET_PRIV (chat); priv->connection = g_object_ref (tp_channel_borrow_connection (priv->channel)); - g_signal_connect (priv->channel, "invalidated", + tp_g_signal_connect_object (priv->channel, "invalidated", G_CALLBACK (tp_chat_invalidated_cb), - chat); + chat, 0); if (tp_proxy_has_interface_by_id (priv->channel, TP_IFACE_QUARK_CHANNEL_INTERFACE_GROUP)) { @@ -1267,8 +1267,8 @@ tp_chat_constructor (GType type, priv->can_upgrade_to_muc = FALSE; - g_signal_connect (priv->channel, "group-members-changed", - G_CALLBACK (tp_chat_group_members_changed_cb), chat); + tp_g_signal_connect_object (priv->channel, "group-members-changed", + G_CALLBACK (tp_chat_group_members_changed_cb), chat, 0); } else { EmpathyDispatcher *dispatcher = empathy_dispatcher_dup_singleton (); GList *list, *ptr; |