mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-14 00:17:35 +00:00
record-store: Removed deprecated CuiCallStates
They haven't been used since
4bc8e82ff6
and could probably have been removed sooner.
This commit is contained in:
parent
4348e794a9
commit
991512e196
1 changed files with 0 additions and 4 deletions
|
@ -53,12 +53,9 @@ typedef enum
|
||||||
static CallsCallRecordState
|
static CallsCallRecordState
|
||||||
state_to_record_state (CuiCallState call_state)
|
state_to_record_state (CuiCallState call_state)
|
||||||
{
|
{
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
||||||
switch (call_state) {
|
switch (call_state) {
|
||||||
case CUI_CALL_STATE_CALLING:
|
case CUI_CALL_STATE_CALLING:
|
||||||
case CUI_CALL_STATE_ALERTING:
|
|
||||||
case CUI_CALL_STATE_INCOMING:
|
case CUI_CALL_STATE_INCOMING:
|
||||||
case CUI_CALL_STATE_WAITING:
|
|
||||||
return STARTED;
|
return STARTED;
|
||||||
|
|
||||||
case CUI_CALL_STATE_ACTIVE:
|
case CUI_CALL_STATE_ACTIVE:
|
||||||
|
@ -71,7 +68,6 @@ state_to_record_state (CuiCallState call_state)
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue