aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-call-handler.c21
-rw-r--r--libempathy/empathy-call-handler.h3
2 files changed, 0 insertions, 24 deletions
diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c
index 32c80916e..c3cbf4ee7 100644
--- a/libempathy/empathy-call-handler.c
+++ b/libempathy/empathy-call-handler.c
@@ -279,27 +279,6 @@ empathy_call_handler_new_for_contact (EmpathyContact *contact)
"contact", contact, NULL));
}
-/**
- * empathy_call_handler_new_for_contact_with_streams:
- * @contact: an #EmpathyContact
- * @audio: if %TRUE the call will be started with audio
- * @video: if %TRUE the call will be started with video
- *
- * Creates a new #EmpathyCallHandler with contact @contact.
- *
- * Return value: a new #EmpathyCallHandler
- */
-EmpathyCallHandler *
-empathy_call_handler_new_for_contact_with_streams (EmpathyContact *contact,
- gboolean audio, gboolean video)
-{
- return EMPATHY_CALL_HANDLER (g_object_new (EMPATHY_TYPE_CALL_HANDLER,
- "contact", contact,
- "initial-audio", audio,
- "initial-video", video,
- NULL));
-}
-
EmpathyCallHandler *
empathy_call_handler_new_for_channel (EmpathyTpCall *call)
{
diff --git a/libempathy/empathy-call-handler.h b/libempathy/empathy-call-handler.h
index f0be11ba5..942fa7520 100644
--- a/libempathy/empathy-call-handler.h
+++ b/libempathy/empathy-call-handler.h
@@ -64,9 +64,6 @@ GType empathy_call_handler_get_type (void);
EmpathyCallHandler * empathy_call_handler_new_for_contact (
EmpathyContact *contact);
-EmpathyCallHandler * empathy_call_handler_new_for_contact_with_streams (
- EmpathyContact *contact, gboolean audio, gboolean video);
-
EmpathyCallHandler * empathy_call_handler_new_for_channel (
EmpathyTpCall *call);