Changeset 5068


Ignore:
Timestamp:
Feb 19, 2008, 5:10:58 AM (14 years ago)
Author:
charles
Message:

(gtk) use tr_torrentDelete() when user hits `cancel' in the "open torrent" dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/open-dialog.c

    r5064 r5068  
    3535    if( data->gtor )
    3636    {
    37         tr_torrent * tor;
    38 
    3937        file_list_set_torrent( data->list, NULL );
    4038
    41         tor = tr_torrent_handle( data->gtor );
    42         tr_torrentRemoveSaved( tor );
    43 
     39        tr_torrent_set_delete_flag( data->gtor, TRUE );
    4440        g_object_unref( G_OBJECT( data->gtor ) );
    4541        data->gtor = NULL;
Note: See TracChangeset for help on using the changeset viewer.