diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libempathy-gtk/gossip-chat-window.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2007-06-14 Xavier Claessens <xclaesse@gmail.com> + * libempathy-gtk/gossip-chat-window.c: Disconnect signals from + chatroom_manager. Fixes bug #447178. + +2007-06-14 Xavier Claessens <xclaesse@gmail.com> + * po/POTFILES.in: * po/POTFILES.skip: Get strings in empathy.desktop.in.in and skip empathy.desktop.in. Fixes bug #446161. 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); } |