aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-26 21:31:25 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-26 21:31:25 +0800
commit1b71ddfae146e1f8d856223239eedd4ea0cefacb (patch)
treeac0b9a33ee96832b58ed9ddc7bc08ac993b1cd3a
parent2faf4680ed7393ebf3eb587a374e5543cf627c5a (diff)
downloadgsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.tar
gsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.tar.gz
gsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.tar.bz2
gsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.tar.lz
gsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.tar.xz
gsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.tar.zst
gsoc2013-empathy-1b71ddfae146e1f8d856223239eedd4ea0cefacb.zip
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
-rw-r--r--libempathy/empathy-tp-call.c9
1 files changed, 1 insertions, 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