From 051d78c18a3865536a0270bf150a538679dd45a6 Mon Sep 17 00:00:00 2001 From: charles kerr Date: Mon, 28 Dec 2015 21:11:10 -0600 Subject: remove unneeded tracers --- src/volume-warning.vala | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/volume-warning.vala b/src/volume-warning.vala index 5af7972..0f06f07 100644 --- a/src/volume-warning.vala +++ b/src/volume-warning.vala @@ -284,21 +284,13 @@ public class VolumeWarning : Object } private void init_high_volume() { _options.loud_changed.connect(() => update_high_volume()); - this.notify["multimedia-volume"].connect(() => { - GLib.message("recalculating high-volume due to multimedia-volume change"); - this.update_high_volume(); - }); - this.notify["multimedia-active"].connect(() => { - GLib.message("recalculating high-volume due to multimedia-active change"); - this.update_high_volume(); - }); - this.notify["headphones-active"].connect(() => { - GLib.message("recalculating high-volume due to headphones-active change"); - this.update_high_volume(); - }); - notify["high-volume-approved"].connect(() => update_high_volume()); + this.notify["multimedia-volume"].connect(() => update_high_volume()); + this.notify["multimedia-active"].connect(() => update_high_volume()); + this.notify["headphones-active"].connect(() => update_high_volume()); + this.notify["high-volume-approved"].connect(() => update_high_volume()); update_high_volume(); } + private void update_high_volume() { PulseAudio.Volume mm_vol = multimedia_volume; var approved = high_volume_approved; -- cgit v1.2.3