aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-06-09 17:35:52 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2009-06-09 17:53:50 +0800
commit3ace031c4d31c397d89ddb8ae37c8898d7bd5a37 (patch)
treed89091ae9ca10e07ee1251ed1ada1e4831ec29f8
parent32ac85819a5109d73f16c48bc6e110669dc07ebf (diff)
downloadgsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.tar
gsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.tar.gz
gsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.tar.bz2
gsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.tar.lz
gsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.tar.xz
gsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.tar.zst
gsoc2013-empathy-3ace031c4d31c397d89ddb8ae37c8898d7bd5a37.zip
Consistently use this_chatroom when removing a room
-rw-r--r--libempathy/empathy-chatroom-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index 3bdc5f154..016a495a2 100644
--- a/libempathy/empathy-chatroom-manager.c
+++ b/libempathy/empathy-chatroom-manager.c
@@ -528,11 +528,11 @@ empathy_chatroom_manager_remove (EmpathyChatroomManager *manager,
empathy_chatroom_equal (chatroom, this_chatroom))
{
priv->chatrooms = g_list_delete_link (priv->chatrooms, l);
- if (empathy_chatroom_is_favorite (chatroom))
+ if (empathy_chatroom_is_favorite (this_chatroom))
reset_save_timeout (manager);
g_signal_emit (manager, signals[CHATROOM_REMOVED], 0, this_chatroom);
- g_signal_handlers_disconnect_by_func (chatroom, chatroom_changed_cb,
+ g_signal_handlers_disconnect_by_func (this_chatroom, chatroom_changed_cb,
manager);
g_object_unref (this_chatroom);