]> git.0d.be Git - empathy.git/commitdiff
chatroom-manager: add_chatroom: connect the 'notify' signal instead of each signal...
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:55:27 +0000 (07:55 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:55:27 +0000 (07:55 +0000)
svn path=/trunk/; revision=1574

libempathy/empathy-chatroom-manager.c

index 7c852547da84dd60b872eb678522b1ac86dafe45..96dd8dd4c48f2bb038696064016d4619337a72a5 100644 (file)
@@ -296,15 +296,7 @@ add_chatroom (EmpathyChatroomManager *self,
 
   priv->chatrooms = g_list_prepend (priv->chatrooms, g_object_ref (chatroom));
 
 
   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);
 }
 
       G_CALLBACK (chatroom_changed_cb), self);
 }