Changeset 10644 for trunk/gtk/tr-core.c


Ignore:
Timestamp:
May 13, 2010, 1:12:27 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) #2612 "Display new transfer window when adding magnet transfer" -- implemented in GTK+ for 2.00

File:
1 edited

Legend:

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

    r10550 r10644  
    10561056        err = tr_ctorSetMetainfoFromMagnetLink( ctor, url );
    10571057
    1058         if( err )
    1059         {
     1058        if( !err )
     1059            tr_core_add_ctor( core, ctor );
     1060        else {
    10601061            gtr_unrecognized_url_dialog( NULL, url );
    10611062            tr_ctorFree( ctor );
    1062         }
    1063         else
    1064         {
    1065             tr_session * session = tr_core_session( core );
    1066             TrTorrent * gtor = tr_torrent_new_ctor( session, ctor, &err );
    1067             if( !err )
    1068                 tr_core_add_torrent( core, gtor, FALSE );
    1069             else
    1070                 g_message( "tr_torrent_new_ctor err %d", err );
    10711063        }
    10721064
Note: See TracChangeset for help on using the changeset viewer.