From ad1861f1744c0d6d4ac8068238f5be91ae1db905 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:14:38 +0000 Subject: [PATCH] Removed file transfer handling code from empathy dispatcher. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1750 --- libempathy/empathy-dispatcher.c | 11 ----------- 1 file changed, 11 deletions(-) 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) && -- 2.39.2