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



commit b8fb136be67e911040d9cb248e162b56d9924de7
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 a8b0eeb..dc9cc04 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -780,10 +780,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]