[empathy: 10/13] remove empathy_call_handler_new_for_contact_with_streams



commit 31e110e96745858e11fce4fffab2334d5e32a873
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jun 22 11:38:39 2010 +0200

    remove empathy_call_handler_new_for_contact_with_streams

 libempathy/empathy-call-handler.c |   21 ---------------------
 libempathy/empathy-call-handler.h |    3 ---
 2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c
index 32c8091..c3cbf4e 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 f0be11b..942fa75 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]