]> git.0d.be Git - empathy.git/commitdiff
call-utils: inline call_new_with_streams()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 24 Feb 2014 13:31:10 +0000 (14:31 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 26 Feb 2014 09:32:36 +0000 (10:32 +0100)
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

index 9542159a99cc2c90fecaccaeff9e52e76b267af2..a235e7b999a25fed1a3200169481c715953bd8b2 100644 (file)
@@ -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,