[calls] Update libcallui subproject and adjust to CuiCallState changes



commit 8543fc7ab5db88f7a73bff8733f3c47ac23f2f65
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Mon Jan 31 15:25:46 2022 +0100

    Update libcallui subproject and adjust to CuiCallState changes
    
    We already had our mapping between CallsCallStates and CuiCallStates in place,
    but the _DIALING state got renamed to _CALLING.
    
    Additionally bundle CallsCallStates that map to the same CuiCallState to remove
    some code.

 src/calls-ui-call-data.c | 4 +---
 subprojects/libcall-ui   | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/calls-ui-call-data.c b/src/calls-ui-call-data.c
index dc8407f8..58d7f3d4 100644
--- a/src/calls-ui-call-data.c
+++ b/src/calls-ui-call-data.c
@@ -388,11 +388,9 @@ calls_call_state_to_cui_call_state (CallsCallState state)
   case CALLS_CALL_STATE_HELD:
     return CUI_CALL_STATE_HELD;
   case CALLS_CALL_STATE_DIALING:
-    return CUI_CALL_STATE_DIALING;
   case CALLS_CALL_STATE_ALERTING:
-    return CUI_CALL_STATE_DIALING;
+    return CUI_CALL_STATE_CALLING;
   case CALLS_CALL_STATE_INCOMING:
-    return CUI_CALL_STATE_INCOMING;
   case CALLS_CALL_STATE_WAITING:
     return CUI_CALL_STATE_INCOMING;
   case CALLS_CALL_STATE_DISCONNECTED:
diff --git a/subprojects/libcall-ui b/subprojects/libcall-ui
index 8efceacf..bc490332 160000
--- a/subprojects/libcall-ui
+++ b/subprojects/libcall-ui
@@ -1 +1 @@
-Subproject commit 8efceacfc01962787638b41fa56ef6674ffe5b4e
+Subproject commit bc4903329a2bfbc306e883016526ac83730503cb


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