diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-02-26 21:31:25 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-02-26 21:31:25 +0800 |
commit | 1b71ddfae146e1f8d856223239eedd4ea0cefacb (patch) | |
tree | ac0b9a33ee96832b58ed9ddc7bc08ac993b1cd3a /libempathy/empathy-tp-call.c | |
parent | 2faf4680ed7393ebf3eb587a374e5543cf627c5a (diff) | |
download | gsoc2013-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
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r-- | libempathy/empathy-tp-call.c | 9 |
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 |