From 033e518cd418c0a51d523fce4a0595909722fb18 Mon Sep 17 00:00:00 2001 From: Frédéric Danis Date: Thu, 8 Mar 2012 16:02:30 +0100 Subject: emulator: fix notify_ring notify_ring should not use information from waiting call --- src/emulator.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/emulator.c') diff --git a/src/emulator.c b/src/emulator.c index 262e782c..0f1ceca0 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -421,13 +421,6 @@ static gboolean notify_ring(void *user_data) c = find_call_with_status(em, CALL_STATUS_INCOMING); - /* - * In case of waiting call becoming an incoming call, call status - * change may not have been done yet, so try to find waiting call too - */ - if (c == NULL) - c = find_call_with_status(em, CALL_STATUS_WAITING); - if (c == NULL) return TRUE; -- cgit v1.2.3