call: Get rid of tone_stop

It wasn't used by any plugin backend and helps getting rid of a lot of code.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-11-16 13:59:06 +01:00
parent 748f9c937c
commit a353a03d01
5 changed files with 19 additions and 89 deletions

View File

@@ -188,7 +188,7 @@ calls_ofono_call_hang_up (CallsCall *call)
static void
calls_ofono_call_tone_start (CallsCall *call, gchar key)
calls_ofono_call_send_dtmf_tone (CallsCall *call, gchar key)
{
CallsOfonoCall *self = CALLS_OFONO_CALL (call);
if (self->state != CALLS_CALL_STATE_ACTIVE)
@@ -362,7 +362,7 @@ calls_ofono_call_class_init (CallsOfonoCallClass *klass)
call_class->get_protocol = calls_ofono_call_get_protocol;
call_class->answer = calls_ofono_call_answer;
call_class->hang_up = calls_ofono_call_hang_up;
call_class->tone_start = calls_ofono_call_tone_start;
call_class->send_dtmf_tone = calls_ofono_call_send_dtmf_tone;
props[PROP_VOICE_CALL] =
g_param_spec_object ("voice-call",