aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-29 10:09:47 -0600
committercharles kerr <charlesk@canonical.com>2015-12-29 10:09:47 -0600
commit6b5cbcfe81a660cedcc3b905d5c6ccb29184fc35 (patch)
tree17177df8dad26c22be35f20de12cf98e709733a0 /src/service.vala
parent6afbde41e01d0b01748f9623668158ccd8b51486 (diff)
downloadayatana-indicator-sound-6b5cbcfe81a660cedcc3b905d5c6ccb29184fc35.tar.gz
ayatana-indicator-sound-6b5cbcfe81a660cedcc3b905d5c6ccb29184fc35.tar.bz2
ayatana-indicator-sound-6b5cbcfe81a660cedcc3b905d5c6ccb29184fc35.zip
use G_SOURCE_REMOVE instead of false
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/service.vala b/src/service.vala
index 71d5b4c..40f49b5 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -42,13 +42,6 @@ public class IndicatorSound.Service: Object {
this.notify["visible"].connect ( () => this.update_root_icon () );
this.volume_control = volume;
-#if 0
- this.volume_control.notify["active-stream"].connect(() => {
- var b = VolumeControl.Stream.MULTIMEDIA == volume_control.active_stream;
- message("updating _volume_warning.multimedia_active to %d", (int)b);
- _volume_warning.multimedia_active = b;
- });
-#endif
this.volume_control.active_output_changed.connect(() => {
bool headphones;
switch(volume_control.active_output) {