diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:23:02 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:23:02 +0800 |
commit | 2f6a0562f6b163cbbd8df706ade46802ab02c1d5 (patch) | |
tree | c7876efe1be33e0db7a7dbf841187ea87247a6c3 /libempathy-gtk/empathy-ft-manager.c | |
parent | 0ec0fd88d836a9c72df629d410ed7eeb5a60d540 (diff) | |
download | gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.gz gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.bz2 gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.lz gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.xz gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.zst gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.zip |
empathy_tp_file_accept/offer takes the GFile in param and return a GError if the file can't be opened.
svn path=/trunk/; revision=1881
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-ft-manager.c | 4 |
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); |