aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:55:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:55:27 +0800
commitb30e1ee62a6e27ae443e47e330f0f9b3b35a431a (patch)
tree6466bceec79e1ceb289baf419e4beeae533f8d18
parenta5f068db869d99cd7b3423cc0110e2e69b6ec4f5 (diff)
downloadgsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.tar
gsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.tar.gz
gsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.tar.bz2
gsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.tar.lz
gsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.tar.xz
gsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.tar.zst
gsoc2013-empathy-b30e1ee62a6e27ae443e47e330f0f9b3b35a431a.zip
chatroom-manager: add_chatroom: connect the 'notify' signal instead of each signal individually
svn path=/trunk/; revision=1574
-rw-r--r--libempathy/empathy-chatroom-manager.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index 7c852547d..96dd8dd4c 100644
--- a/libempathy/empathy-chatroom-manager.c
+++ b/libempathy/empathy-chatroom-manager.c
@@ -296,15 +296,7 @@ add_chatroom (EmpathyChatroomManager *self,
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);
}