aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-call.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-02 06:02:48 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-02 06:02:48 +0800
commit6d23f46e64152fa219b5ad8a5455996b36e9c6db (patch)
treea84cc8c5f884d0d98cbfcb83eba5e061ae57f0f2 /libempathy/empathy-tp-call.c
parent16bb46bc5b1efb53ea813e3e1351fbbdc8b02fe3 (diff)
downloadgsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.tar
gsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.tar.gz
gsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.tar.bz2
gsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.tar.lz
gsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.tar.xz
gsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.tar.zst
gsoc2013-empathy-6d23f46e64152fa219b5ad8a5455996b36e9c6db.zip
Keypad is unsensitive if the call is not ACCEPTED
svn path=/trunk/; revision=1072
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r--libempathy/empathy-tp-call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 32debb8b3..c5e977d1c 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -817,7 +817,7 @@ empathy_tp_call_start_tone (EmpathyTpCall *call, TpDTMFEvent event)
EmpathyTpCallPriv *priv = GET_PRIV (call);
g_return_if_fail (EMPATHY_IS_TP_CALL (call));
- g_return_if_fail (priv->status != EMPATHY_TP_CALL_STATUS_ACCEPTED);
+ g_return_if_fail (priv->status == EMPATHY_TP_CALL_STATUS_ACCEPTED);
if (!priv->audio->exists)
return;
@@ -834,7 +834,7 @@ empathy_tp_call_stop_tone (EmpathyTpCall *call)
EmpathyTpCallPriv *priv = GET_PRIV (call);
g_return_if_fail (EMPATHY_IS_TP_CALL (call));
- g_return_if_fail (priv->status != EMPATHY_TP_CALL_STATUS_ACCEPTED);
+ g_return_if_fail (priv->status == EMPATHY_TP_CALL_STATUS_ACCEPTED);
if (!priv->audio->exists)
return;