summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2010-11-08 17:22:30 +0200
committerPekka Pessi <Pekka.Pessi@nokia.com>2010-11-08 17:22:30 +0200
commit192bebcf8b736285552accf710340ab521171ad7 (patch)
tree5455b2fc765966e12d2e5322dd5d27dde2f6cc2f
parent065cf13f2a6b9f47d09ae1ae049059009da28346 (diff)
ring-call-channel.c: do not delay answering
-rw-r--r--src/ring-call-channel.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/ring-call-channel.c b/src/ring-call-channel.c
index 4ed660e..dfed999 100644
--- a/src/ring-call-channel.c
+++ b/src/ring-call-channel.c
@@ -1439,7 +1439,7 @@ ring_call_channel_accept_pending(GObject *iface,
if (!self->priv->accepted)
self->priv->accepted = g_strdup(message ? message : "Call accepted");
- modem_call_request_answer(self->base.call_instance, NULL, NULL);
+ modem_call_request_answer(self->base.call_instance, NULL, NULL);
return TRUE;
}
@@ -1471,28 +1471,10 @@ static void on_modem_call_state_mo_alerting(RingCallChannel *self)
TP_CHANNEL_CALL_STATE_QUEUED);
}
-#ifdef nomore
-static void on_modem_call_state_mt_alerting(RingCallChannel *self)
-{
- /* We can answer the call now */
- if (self->priv->accepted)
- modem_call_request_answer(self->base.call_instance, NULL, NULL);
-}
-#endif
-
static void on_modem_call_state_waiting(RingCallChannel *self)
{
- /* We can answer the call now */
- if (self->priv->accepted)
- modem_call_request_answer(self->base.call_instance, NULL, NULL);
}
-#ifdef nomore
-static void on_modem_call_state_answered(RingCallChannel *self)
-{
-}
-#endif
-
static void on_modem_call_state_active(RingCallChannel *self)
{
RingCallChannelPrivate *priv = self->priv;