From: Jonny Lamb Date: Fri, 21 Nov 2008 16:14:38 +0000 (+0000) Subject: Removed file transfer handling code from empathy dispatcher. (Jonny Lamb) X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=ad1861f1744c0d6d4ac8068238f5be91ae1db905 Removed file transfer handling code from empathy dispatcher. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1750 --- diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 2b965d41..5f26eeee 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -370,15 +370,6 @@ dispatcher_tubes_handle_channel (EmpathyDispatcher *dispatcher, G_OBJECT (dispatcher)); } -static void -dispatcher_file_handle_channel (EmpathyDispatcher *dispatcher, - TpChannel *channel) -{ - DEBUG ("New file channel"); - - /* handle new file channel here */ -} - static void dispatcher_connection_invalidated_cb (TpConnection *connection, guint domain, @@ -482,8 +473,6 @@ dispatcher_connection_new_channel_cb (TpConnection *connection, if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TUBES)) { dispatcher_tubes_handle_channel (dispatcher, channel); - } else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_FILE)) { - dispatcher_file_handle_channel (dispatcher, channel); } if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TEXT) &&