[empathy] call-utils: inline call_new_with_streams()



commit 912bbee404f948ae85d8c5705857b7dde0595ea0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Feb 24 14:31:10 2014 +0100

    call-utils: inline call_new_with_streams()
    
    We no longer support fallbacking to StreamedMedia so there is no point keeping
    this static function.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725070

 libempathy-gtk/empathy-call-utils.c |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c
index 9542159..a235e7b 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -113,9 +113,8 @@ create_call_channel_cb (GObject *source,
   show_call_error (error);
 }
 
-/* Try to request a Call channel and fallback to StreamedMedia if that fails */
-static void
-call_new_with_streams (const gchar *contact,
+void
+empathy_call_new_with_streams (const gchar *contact,
     TpAccount *account,
     gboolean initial_audio,
     gboolean initial_video,
@@ -139,17 +138,6 @@ call_new_with_streams (const gchar *contact,
   g_object_unref (call_req);
 }
 
-void
-empathy_call_new_with_streams (const gchar *contact,
-    TpAccount *account,
-    gboolean initial_audio,
-    gboolean initial_video,
-    gint64 timestamp)
-{
-  call_new_with_streams (contact, account, initial_audio, initial_video,
-      timestamp);
-}
-
 /* Copied from telepathy-yell call-channel.c */
 void
 empathy_call_channel_send_video (TpCallChannel *self,


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