aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/gossip-chat-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-14 20:14:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-14 20:14:02 +0800
commit92b095154e6c804d2d7138689629f32856eddd15 (patch)
treecfd6d32d865a8179aca95856ae43b98c445cdd4e /libempathy-gtk/gossip-chat-window.c
parent5c194a557dea8a74b9b20f4bdedbec26b99751c8 (diff)
downloadgsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.tar
gsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.tar.gz
gsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.tar.bz2
gsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.tar.lz
gsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.tar.xz
gsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.tar.zst
gsoc2013-empathy-92b095154e6c804d2d7138689629f32856eddd15.zip
Disconnect signals from chatroom_manager. Fixes bug #447178.
2007-06-14 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-chat-window.c: Disconnect signals from chatroom_manager. Fixes bug #447178. svn path=/trunk/; revision=153
Diffstat (limited to 'libempathy-gtk/gossip-chat-window.c')
-rw-r--r--libempathy-gtk/gossip-chat-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-chat-window.c b/libempathy-gtk/gossip-chat-window.c
index 39639b7dc..854c31428 100644
--- a/libempathy-gtk/gossip-chat-window.c
+++ b/libempathy-gtk/gossip-chat-window.c
@@ -509,9 +509,12 @@ gossip_chat_window_finalize (GObject *object)
chat_windows = g_list_remove (chat_windows, window);
gtk_widget_destroy (priv->dialog);
+ g_object_unref (priv->tooltips);
+ g_signal_handlers_disconnect_by_func (priv->chatroom_manager,
+ chat_window_update_menu,
+ window);
g_object_unref (priv->chatroom_manager);
- g_object_unref (priv->tooltips);
G_OBJECT_CLASS (gossip_chat_window_parent_class)->finalize (object);
}