From fb39e283d91acfcd122584361646c207018b4d66 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:19:22 +0000 Subject: 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 svn path=/trunk/; revision=1825 --- libempathy-gtk/empathy-ft-manager.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c index 7364dde1e..3e798c380 100644 --- a/libempathy-gtk/empathy-ft-manager.c +++ b/libempathy-gtk/empathy-ft-manager.c @@ -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); } -- cgit v1.2.3