Ignore:
Timestamp:
Jan 22, 2009, 8:46:21 PM (13 years ago)
Author:
charles
Message:

(trunk gtk) use g_remove() instead of g_unlink() so that folders can be deleted too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-torrent.c

    r7693 r7774  
    213213        /* #1294: don't delete the source .torrent file if it's our internal copy */
    214214        if( !is_internal )
    215             tr_file_trash_or_unlink( source );
     215            tr_file_trash_or_remove( source );
    216216    }
    217217
     
    319319tr_torrent_delete_files( TrTorrent * gtor )
    320320{
    321     tr_torrentDeleteLocalData( tr_torrent_handle( gtor ), tr_file_trash_or_unlink );
     321    tr_torrentDeleteLocalData( tr_torrent_handle( gtor ), tr_file_trash_or_remove );
    322322}
    323323
Note: See TracChangeset for help on using the changeset viewer.