Changeset 6935 for trunk/gtk/tr-window.c


Ignore:
Timestamp:
Oct 20, 2008, 5:54:56 PM (14 years ago)
Author:
charles
Message:

#1369: clarify the different torrent status & callbacks' APIs and typenames

File:
1 edited

Legend:

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

    r6829 r6935  
    319319    {
    320320        case FILTER_MODE_DOWNLOADING:
    321             ret = tr_torrentGetStatus( tor ) == TR_STATUS_DOWNLOAD;
     321            ret = tr_torrentGetActivity( tor ) == TR_STATUS_DOWNLOAD;
    322322            break;
    323323
    324324        case FILTER_MODE_SEEDING:
    325             ret = tr_torrentGetStatus( tor ) == TR_STATUS_SEED;
     325            ret = tr_torrentGetActivity( tor ) == TR_STATUS_SEED;
    326326            break;
    327327
    328328        case FILTER_MODE_PAUSED:
    329             ret = tr_torrentGetStatus( tor ) == TR_STATUS_STOPPED;
     329            ret = tr_torrentGetActivity( tor ) == TR_STATUS_STOPPED;
    330330            break;
    331331
Note: See TracChangeset for help on using the changeset viewer.