From 6d23f46e64152fa219b5ad8a5455996b36e9c6db Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 1 May 2008 22:02:48 +0000 Subject: Keypad is unsensitive if the call is not ACCEPTED svn path=/trunk/; revision=1072 --- libempathy/empathy-tp-call.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-tp-call.c') 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; -- cgit v1.2.3