mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
call: Remove waiting state
The waiting state is not used any more and made wrong assumptions to begin with, so let's get rid of it.
This commit is contained in:
parent
4b99660e3f
commit
8a928f2008
3 changed files with 0 additions and 4 deletions
|
@ -39,7 +39,6 @@ typedef enum {
|
|||
CALLS_CALL_STATE_DIALING,
|
||||
CALLS_CALL_STATE_ALERTING,
|
||||
CALLS_CALL_STATE_INCOMING,
|
||||
CALLS_CALL_STATE_WAITING,
|
||||
CALLS_CALL_STATE_DISCONNECTED
|
||||
} CallsCallState;
|
||||
|
||||
|
|
|
@ -770,7 +770,6 @@ calls_call_state_to_cui_call_state (CallsCallState state)
|
|||
case CALLS_CALL_STATE_ALERTING:
|
||||
return CUI_CALL_STATE_CALLING;
|
||||
case CALLS_CALL_STATE_INCOMING:
|
||||
case CALLS_CALL_STATE_WAITING:
|
||||
return CUI_CALL_STATE_INCOMING;
|
||||
case CALLS_CALL_STATE_DISCONNECTED:
|
||||
return CUI_CALL_STATE_DISCONNECTED;
|
||||
|
|
|
@ -33,8 +33,6 @@ test_cui_call_state_mapping (void)
|
|||
==, CUI_CALL_STATE_CALLING);
|
||||
g_assert_cmpint (calls_call_state_to_cui_call_state (CALLS_CALL_STATE_INCOMING),
|
||||
==, CUI_CALL_STATE_INCOMING);
|
||||
g_assert_cmpint (calls_call_state_to_cui_call_state (CALLS_CALL_STATE_WAITING),
|
||||
==, CUI_CALL_STATE_INCOMING);
|
||||
g_assert_cmpint (calls_call_state_to_cui_call_state (CALLS_CALL_STATE_DISCONNECTED),
|
||||
==, CUI_CALL_STATE_DISCONNECTED);
|
||||
g_assert_cmpint (calls_call_state_to_cui_call_state (42), ==, CUI_CALL_STATE_UNKNOWN);
|
||||
|
|
Loading…
Reference in a new issue