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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user