aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-11-22 00:19:22 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:19:22 +0800
commitfb39e283d91acfcd122584361646c207018b4d66 (patch)
treeebc501ad5a572d8bc6b8eda330eb515478c28251 /libempathy-gtk
parent264c08f142cfcc7229a5497622c16a5d27771c03 (diff)
downloadgsoc2013-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.c5
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);
}