Use tr_sys_path_remove instead of remove

This commit is contained in:
Mike Gelfand
2015-10-23 04:09:40 +00:00
parent abb572fe26
commit 88983c1ac1
10 changed files with 52 additions and 28 deletions

View File

@@ -134,7 +134,7 @@ addResponseCB (GtkDialog * dialog,
gtr_core_add_torrent (o->core, o->tor, FALSE);
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (o->trash_check)))
gtr_file_trash_or_remove (o->filename);
gtr_file_trash_or_remove (o->filename, NULL);
save_recent_destination (o->core, o->downloadDir);
}