From: Guillaume Desmottes Date: Mon, 24 Feb 2014 13:31:10 +0000 (+0100) Subject: call-utils: inline call_new_with_streams() X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=912bbee404f948ae85d8c5705857b7dde0595ea0 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 --- diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c index 9542159a..a235e7b9 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,