empathy r1825 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Nov 21 16:19:22 2008
New Revision: 1825
URL: http://svn.gnome.org/viewvc/empathy?rev=1825&view=rev

Log:
In ft_manager_receive_response_cb, just call empathy_tp_file_cancel instead of getting the channel and calling close on it. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/libempathy-gtk/empathy-ft-manager.c

Modified: trunk/libempathy-gtk/empathy-ft-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ft-manager.c	(original)
+++ trunk/libempathy-gtk/empathy-ft-manager.c	Fri Nov 21 16:19:22 2008
@@ -855,14 +855,11 @@
                                      gint response,
                                      ReceiveResponseData *response_data)
 {
-  TpChannel *channel;
-
   if (response == GTK_RESPONSE_ACCEPT)
     ft_manager_create_save_dialog (response_data);
   else
     {
-      channel = empathy_tp_file_get_channel (response_data->tp_file);
-      tp_cli_channel_call_close (channel, -1, NULL, NULL, NULL, NULL);
+      empathy_tp_file_cancel (response_data->tp_file);
       ft_manager_receive_response_data_free (response_data);
     }
 



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