[empathy] tp-chat: no need to connect twice on the ChatStateChanged signal



commit 79fcbc9965a60f8099ea355188b954ae2444eddc
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Nov 18 18:35:54 2009 +0000

    tp-chat: no need to connect twice on the ChatStateChanged signal

 libempathy/empathy-tp-chat.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 9285206..aa8c1a1 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -823,10 +823,6 @@ tp_chat_check_if_ready (EmpathyTpChat *chat)
 									   tp_chat_state_changed_cb,
 									   NULL, NULL,
 									   G_OBJECT (chat), NULL);
-	tp_cli_channel_interface_chat_state_connect_to_chat_state_changed (priv->channel,
-									   tp_chat_state_changed_cb,
-									   NULL, NULL,
-									   G_OBJECT (chat), NULL);
 	priv->ready = TRUE;
 	g_object_notify (G_OBJECT (chat), "ready");
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]