[calls] record-store: Removed deprecated CuiCallStates
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] record-store: Removed deprecated CuiCallStates
- Date: Tue, 20 Sep 2022 10:39:02 +0000 (UTC)
commit 991512e196bf30a6f9acaa17117f1500a70b95d6
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Mon Sep 12 19:44:40 2022 +0200
record-store: Removed deprecated CuiCallStates
They haven't been used since
4bc8e82ff63d6e8f3f758f8acde2c620a691d584
and could probably have been removed sooner.
src/calls-record-store.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/calls-record-store.c b/src/calls-record-store.c
index c8117a82..b6598f17 100644
--- a/src/calls-record-store.c
+++ b/src/calls-record-store.c
@@ -53,12 +53,9 @@ typedef enum
static CallsCallRecordState
state_to_record_state (CuiCallState call_state)
{
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
switch (call_state) {
case CUI_CALL_STATE_CALLING:
- case CUI_CALL_STATE_ALERTING:
case CUI_CALL_STATE_INCOMING:
- case CUI_CALL_STATE_WAITING:
return STARTED;
case CUI_CALL_STATE_ACTIVE:
@@ -71,7 +68,6 @@ state_to_record_state (CuiCallState call_state)
default:
g_assert_not_reached ();
}
-#pragma GCC diagnostic warning "-Wdeprecated-declarations"
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]