diff options
author | TingPing <tngpng@gmail.com> | 2013-04-08 10:35:53 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-04-08 10:35:53 -0700 |
commit | 3a6103564ef3c3ad3491958d1548186e1e04fbfa (patch) | |
tree | 0dd1a708e26b652bdf1fbcb3e0f1d7ed47b40ba2 /src/common/chanopt.c | |
parent | 561ad635cde369f4f07b5ce5ee795b9dc4c2c0f7 (diff) | |
parent | 0424e5a3298b3f2341035f9cad8e41273733c54d (diff) |
Merge pull request #516 from Misdre/optout-extra-alerts
Closes #290 - opt-out for extra alerts now working
Diffstat (limited to 'src/common/chanopt.c')
-rw-r--r-- | src/common/chanopt.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/common/chanopt.c b/src/common/chanopt.c index 561f2f9c..91b5087b 100644 --- a/src/common/chanopt.c +++ b/src/common/chanopt.c @@ -165,17 +165,6 @@ chanopt_is_set (unsigned int global, guint8 per_chan_setting) return per_chan_setting; } -/* additive version */ - -gboolean -chanopt_is_set_a (unsigned int global, guint8 per_chan_setting) -{ - if (per_chan_setting == SET_DEFAULT) - return global; - - return per_chan_setting || global; -} - /* === below is LOADING/SAVING stuff only === */ typedef struct |