aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-29 17:22:57 -0600
committercharles kerr <charlesk@canonical.com>2015-12-29 17:22:57 -0600
commit641dcb108b988f224e0d36b7837f2a4b8ca554cb (patch)
tree2eeec8c8f5912f219e764d91421e0c822a579356 /src
parent97a06752f6171e811c85faba05f3dceab45d38e3 (diff)
downloadayatana-indicator-sound-641dcb108b988f224e0d36b7837f2a4b8ca554cb.tar.gz
ayatana-indicator-sound-641dcb108b988f224e0d36b7837f2a4b8ca554cb.tar.bz2
ayatana-indicator-sound-641dcb108b988f224e0d36b7837f2a4b8ca554cb.zip
remove ignore_high_volume dupe from volume-warning
Diffstat (limited to 'src')
-rw-r--r--src/volume-warning.vala14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/volume-warning.vala b/src/volume-warning.vala
index bf587fd..49ed3a8 100644
--- a/src/volume-warning.vala
+++ b/src/volume-warning.vala
@@ -87,9 +87,6 @@ public abstract class VolumeWarning : Object
****
***/
- // FIXME: what to do with this now?
- private bool _ignore_warning_this_time = false;
-
private IndicatorSound.Options _options;
private void init_all_properties()
@@ -107,17 +104,6 @@ public abstract class VolumeWarning : Object
*** HIGH VOLUME PROPERTY
**/
- public bool ignore_high_volume {
- get {
- if (_ignore_warning_this_time) {
- warning("Ignore");
- _ignore_warning_this_time = false;
- return true;
- }
- return false;
- }
- set { }
- }
private void init_high_volume () {
_options.loud_changed.connect(() => update_high_volume());
this.notify["multimedia-volume"].connect(() => update_high_volume());