mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-17 16:05:36 +00:00
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.
This commit is contained in:
parent
6e9fadbee2
commit
4bc8e82ff6
1 changed files with 2 additions and 2 deletions
|
@ -72,11 +72,11 @@ calls_state_to_cui_call_state (CallsCallState state)
|
||||||
case CALLS_CALL_STATE_DIALING:
|
case CALLS_CALL_STATE_DIALING:
|
||||||
return CUI_CALL_STATE_DIALING;
|
return CUI_CALL_STATE_DIALING;
|
||||||
case CALLS_CALL_STATE_ALERTING:
|
case CALLS_CALL_STATE_ALERTING:
|
||||||
return CUI_CALL_STATE_ALERTING;
|
return CUI_CALL_STATE_DIALING;
|
||||||
case CALLS_CALL_STATE_INCOMING:
|
case CALLS_CALL_STATE_INCOMING:
|
||||||
return CUI_CALL_STATE_INCOMING;
|
return CUI_CALL_STATE_INCOMING;
|
||||||
case CALLS_CALL_STATE_WAITING:
|
case CALLS_CALL_STATE_WAITING:
|
||||||
return CUI_CALL_STATE_WAITING;
|
return CUI_CALL_STATE_INCOMING;
|
||||||
case CALLS_CALL_STATE_DISCONNECTED:
|
case CALLS_CALL_STATE_DISCONNECTED:
|
||||||
return CUI_CALL_STATE_DISCONNECTED;
|
return CUI_CALL_STATE_DISCONNECTED;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue