(trunk) remove obscure macro

This commit is contained in:
Charles Kerr 2009-04-17 17:34:21 +00:00
parent 452fd21d15
commit e2b7b05e55
2 changed files with 3 additions and 5 deletions

View File

@ -171,10 +171,10 @@ accumulateStatusForeach( GtkTreeModel * model,
gtk_tree_model_get( model, iter, MC_ACTIVITY, &activity, -1 );
if( TR_STATUS_IS_ACTIVE( activity ) )
++counts->activeCount;
else
if( activity == TR_STATUS_STOPPED )
++counts->inactiveCount;
else
++counts->activeCount;
}
static void

View File

@ -1308,8 +1308,6 @@ tr_torrent_activity;
tr_torrent_activity tr_torrentGetActivity( tr_torrent * );
#define TR_STATUS_IS_ACTIVE( s ) ( ( s ) != TR_STATUS_STOPPED )
typedef enum
{
TR_LOCKFILE_SUCCESS = 0,