empathy r2396 - trunk/libempathy



Author: xclaesse
Date: Tue Feb  3 09:03:35 2009
New Revision: 2396
URL: http://svn.gnome.org/viewvc/empathy?rev=2396&view=rev

Log:
Close ongoing calls at dispose time

Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>

Modified:
   trunk/libempathy/empathy-call-handler.c

Modified: trunk/libempathy/empathy-call-handler.c
==============================================================================
--- trunk/libempathy/empathy-call-handler.c	(original)
+++ trunk/libempathy/empathy-call-handler.c	Tue Feb  3 09:03:35 2009
@@ -191,11 +191,13 @@
 
   /* FIXME close the call ? */
   if (priv->call != NULL)
-    g_object_unref (priv->call);
+    {
+      empathy_tp_call_close (priv->call);
+      g_object_unref (priv->call);
+    }
 
   priv->call = NULL;
 
-
   /* release any references held by the object here */
   if (G_OBJECT_CLASS (empathy_call_handler_parent_class)->dispose)
     G_OBJECT_CLASS (empathy_call_handler_parent_class)->dispose (object);



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