aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ft-manager.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-11-22 00:18:49 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:18:49 +0800
commit454b87d7a19ed7b1fbff0f6939416af5c353da62 (patch)
tree856778c726f1fceea7122bb3106cc12bd12e1b18 /libempathy-gtk/empathy-ft-manager.c
parent9af48aa4572ec0a497f4ecebb1852c429fd22da6 (diff)
downloadgsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.tar
gsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.tar.gz
gsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.tar.bz2
gsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.tar.lz
gsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.tar.xz
gsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.tar.zst
gsoc2013-empathy-454b87d7a19ed7b1fbff0f6939416af5c353da62.zip
Don't call _finalize in the delete_event_cb. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1816
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r--libempathy-gtk/empathy-ft-manager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c
index f94abccd6..bcaadf365 100644
--- a/libempathy-gtk/empathy-ft-manager.c
+++ b/libempathy-gtk/empathy-ft-manager.c
@@ -1013,7 +1013,9 @@ ft_manager_delete_event_cb (GtkWidget *widget,
if (g_hash_table_size (ft_manager->priv->tp_file_to_row_ref) == 0)
{
DEBUG ("Destroying window");
- empathy_ft_manager_finalize (G_OBJECT (ft_manager));
+ if (manager_p != NULL)
+ g_object_unref (manager_p);
+
manager_p = NULL;
return FALSE;
}