empathy r1574 - trunk/libempathy



Author: xclaesse
Date: Mon Oct 13 07:55:27 2008
New Revision: 1574
URL: http://svn.gnome.org/viewvc/empathy?rev=1574&view=rev

Log:
chatroom-manager: add_chatroom: connect the 'notify' signal instead of each signal individually

Modified:
   trunk/libempathy/empathy-chatroom-manager.c

Modified: trunk/libempathy/empathy-chatroom-manager.c
==============================================================================
--- trunk/libempathy/empathy-chatroom-manager.c	(original)
+++ trunk/libempathy/empathy-chatroom-manager.c	Mon Oct 13 07:55:27 2008
@@ -296,15 +296,7 @@
 
   priv->chatrooms = g_list_prepend (priv->chatrooms, g_object_ref (chatroom));
 
-  g_signal_connect (chatroom, "notify::favorite",
-      G_CALLBACK (chatroom_changed_cb), self);
-  g_signal_connect (chatroom, "notify::name",
-      G_CALLBACK (chatroom_changed_cb), self);
-  g_signal_connect (chatroom, "notify::auto-connect",
-      G_CALLBACK (chatroom_changed_cb), self);
-  g_signal_connect (chatroom, "notify::room",
-      G_CALLBACK (chatroom_changed_cb), self);
-  g_signal_connect (chatroom, "notify::account",
+  g_signal_connect (chatroom, "notify",
       G_CALLBACK (chatroom_changed_cb), self);
 }
 



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