]> git.0d.be Git - empathy.git/commitdiff
In ft_manager_receive_response_cb, just call empathy_tp_file_cancel instead of gettin...
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Fri, 21 Nov 2008 16:19:22 +0000 (16:19 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:19:22 +0000 (16:19 +0000)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1825

libempathy-gtk/empathy-ft-manager.c

index 7364dde1e16bb6d0d7ff169683246869fa011fa1..3e798c380771f314c572d31f911532c7e0b6c561 100644 (file)
@@ -855,14 +855,11 @@ ft_manager_receive_file_response_cb (GtkWidget *dialog,
                                      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);
     }