From 1b71ddfae146e1f8d856223239eedd4ea0cefacb Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 26 Feb 2008 13:31:25 +0000 Subject: Close the channel if se proxy is invalidated and do not change status to closed if a se call fails svn path=/trunk/; revision=669 --- libempathy/empathy-tp-call.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 9957d8f25..0e4823e69 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -483,14 +483,10 @@ tp_call_async_cb (TpProxy *proxy, 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 @@ tp_call_invalidated_cb (TpProxy *stream_engine, 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 -- cgit v1.2.3