aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ft-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r--libempathy-gtk/empathy-ft-manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c
index 624680d93..df4b61d49 100644
--- a/libempathy-gtk/empathy-ft-manager.c
+++ b/libempathy-gtk/empathy-ft-manager.c
@@ -744,7 +744,7 @@ ft_manager_save_dialog_response_cb (GtkDialog *widget,
GError *error = NULL;
file = g_file_new_for_uri (uri);
- empathy_tp_file_set_gfile (response_data->tp_file, file, &error);
+ empathy_tp_file_accept (response_data->tp_file, 0, file, &error);
if (error)
{
@@ -773,8 +773,6 @@ ft_manager_save_dialog_response_cb (GtkDialog *widget,
g_object_set_data_full (G_OBJECT (response_data->tp_file),
"uri", uri, g_free);
- empathy_tp_file_accept (response_data->tp_file, 0);
-
ft_manager_add_tp_file_to_list (response_data->ft_manager,
response_data->tp_file);