summaryrefslogtreecommitdiffstats
path: root/telephony-binding/gdbus/ofono_voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'telephony-binding/gdbus/ofono_voicecall.c')
-rw-r--r--telephony-binding/gdbus/ofono_voicecall.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/telephony-binding/gdbus/ofono_voicecall.c b/telephony-binding/gdbus/ofono_voicecall.c
index b602c89..de6db2f 100644
--- a/telephony-binding/gdbus/ofono_voicecall.c
+++ b/telephony-binding/gdbus/ofono_voicecall.c
@@ -34,3 +34,10 @@ void ofono_voicecall_hangup(OrgOfonoVoiceCall *voice_call)
org_ofono_voice_call_call_hangup_sync(voice_call, NULL, &error);
}
+
+void ofono_voicecall_answer(OrgOfonoVoiceCall *voice_call)
+{
+ GError *error = NULL;
+
+ org_ofono_voice_call_call_answer_sync(voice_call, NULL, &error);
+}