empathy r1816 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Nov 21 16:18:49 2008
New Revision: 1816
URL: http://svn.gnome.org/viewvc/empathy?rev=1816&view=rev

Log:
Don't call _finalize in the delete_event_cb. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/libempathy-gtk/empathy-ft-manager.c

Modified: trunk/libempathy-gtk/empathy-ft-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ft-manager.c	(original)
+++ trunk/libempathy-gtk/empathy-ft-manager.c	Fri Nov 21 16:18:49 2008
@@ -1013,7 +1013,9 @@
   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;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]