[calls] ui-call-data: Don't use deprecated states in mapping



commit 4bc8e82ff63d6e8f3f758f8acde2c620a691d584
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Tue Jan 18 02:33:06 2022 +0100

    ui-call-data: Don't use deprecated states in mapping
    
    For the UI we don't distinguish between dialing and alerting or between
    waiting and incoming.

 src/calls-ui-call-data.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calls-ui-call-data.c b/src/calls-ui-call-data.c
index fb36fef8..f5d3151d 100644
--- a/src/calls-ui-call-data.c
+++ b/src/calls-ui-call-data.c
@@ -72,11 +72,11 @@ calls_state_to_cui_call_state (CallsCallState state)
   case CALLS_CALL_STATE_DIALING:
     return CUI_CALL_STATE_DIALING;
   case CALLS_CALL_STATE_ALERTING:
-    return CUI_CALL_STATE_ALERTING;
+    return CUI_CALL_STATE_DIALING;
   case CALLS_CALL_STATE_INCOMING:
     return CUI_CALL_STATE_INCOMING;
   case CALLS_CALL_STATE_WAITING:
-    return CUI_CALL_STATE_WAITING;
+    return CUI_CALL_STATE_INCOMING;
   case CALLS_CALL_STATE_DISCONNECTED:
     return CUI_CALL_STATE_DISCONNECTED;
   default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]