diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-11-22 00:19:22 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:19:22 +0800 |
commit | fb39e283d91acfcd122584361646c207018b4d66 (patch) | |
tree | ebc501ad5a572d8bc6b8eda330eb515478c28251 /libempathy-gtk | |
parent | 264c08f142cfcc7229a5497622c16a5d27771c03 (diff) | |
download | gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.tar gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.tar.gz gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.tar.bz2 gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.tar.lz gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.tar.xz gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.tar.zst gsoc2013-empathy-fb39e283d91acfcd122584361646c207018b4d66.zip |
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>
svn path=/trunk/; revision=1825
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-ft-manager.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); } |