Ignore:
Timestamp:
Jun 26, 2010, 9:01:39 PM (12 years ago)
Author:
charles
Message:

(2.0x gtk) #3320 -- update the gtk+ client to match the new completeness' callback signature from r10878

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/gtk/tr-torrent.c

    r10706 r10885  
    157157completenessChangedCallback( tr_torrent       * tor,
    158158                             tr_completeness    completeness,
     159                             tr_bool            wasRunning,
    159160                             void *             user_data )
    160161{
    161     if( ( completeness != TR_LEECH ) && ( tr_torrentStat( tor )->sizeWhenDone != 0 ) )
     162    if( wasRunning && ( completeness != TR_LEECH )
     163                   && ( tr_torrentStat( tor )->sizeWhenDone != 0 ) )
    162164        gtr_idle_add( notifyInMainThread, user_data );
    163165}
Note: See TracChangeset for help on using the changeset viewer.