Changeset 8252


Ignore:
Timestamp:
Apr 17, 2009, 5:34:21 PM (13 years ago)
Author:
charles
Message:

(trunk) remove obscure macro

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r8178 r8252  
    172172    gtk_tree_model_get( model, iter, MC_ACTIVITY, &activity, -1 );
    173173
    174     if( TR_STATUS_IS_ACTIVE( activity ) )
     174    if( activity == TR_STATUS_STOPPED )
     175        ++counts->inactiveCount;
     176    else
    175177        ++counts->activeCount;
    176     else
    177         ++counts->inactiveCount;
    178178}
    179179
  • trunk/libtransmission/transmission.h

    r8246 r8252  
    13091309tr_torrent_activity tr_torrentGetActivity( tr_torrent * );
    13101310
    1311 #define TR_STATUS_IS_ACTIVE( s ) ( ( s ) != TR_STATUS_STOPPED )
    1312 
    13131311typedef enum
    13141312{
Note: See TracChangeset for help on using the changeset viewer.