empathy r669 - trunk/libempathy



Author: xclaesse
Date: Tue Feb 26 13:31:25 2008
New Revision: 669
URL: http://svn.gnome.org/viewvc/empathy?rev=669&view=rev

Log:
Close the channel if se proxy is invalidated and do not change status to closed if a se call fails


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

Modified: trunk/libempathy/empathy-tp-call.c
==============================================================================
--- trunk/libempathy/empathy-tp-call.c	(original)
+++ trunk/libempathy/empathy-tp-call.c	Tue Feb 26 13:31:25 2008
@@ -483,14 +483,10 @@
                   gpointer user_data,
                   GObject *call)
 {
-  EmpathyTpCallPriv *priv = GET_PRIV (call);
-
   if (error)
     {
       empathy_debug (DEBUG_DOMAIN, "Error %s: %s",
           user_data, error->message);
-      priv->status = EMPATHY_TP_CALL_STATUS_CLOSED;
-      g_signal_emit_by_name (call, "status-changed");
     }
 }
 
@@ -501,12 +497,9 @@
                         gchar         *message,
                         EmpathyTpCall *call)
 {
-  EmpathyTpCallPriv *priv = GET_PRIV (call);
-
   empathy_debug (DEBUG_DOMAIN, "Stream engine proxy invalidated: %s",
       message);
-  priv->status = EMPATHY_TP_CALL_STATUS_CLOSED;
-  g_signal_emit_by_name (call, "status-changed");
+  empathy_tp_call_close_channel (call);
 }
 
 static void



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