1
0
Fork 0
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:
Evangelos Ribeiro Tzaras 2022-09-12 19:44:40 +02:00
parent 4348e794a9
commit 991512e196

View file

@ -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"
} }