mirror of
https://github.com/transmission/transmission
synced 2025-03-06 19:48:15 +00:00
(trunk) remove obscure macro
This commit is contained in:
parent
452fd21d15
commit
e2b7b05e55
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue