diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-06-14 20:14:02 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-06-14 20:14:02 +0800 |
commit | 92b095154e6c804d2d7138689629f32856eddd15 (patch) | |
tree | cfd6d32d865a8179aca95856ae43b98c445cdd4e /libempathy-gtk | |
parent | 5c194a557dea8a74b9b20f4bdedbec26b99751c8 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | libempathy-gtk/gossip-chat-window.c | 5 |
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); } |