From 6b5cbcfe81a660cedcc3b905d5c6ccb29184fc35 Mon Sep 17 00:00:00 2001 From: charles kerr Date: Tue, 29 Dec 2015 10:09:47 -0600 Subject: use G_SOURCE_REMOVE instead of false --- src/service.vala | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/service.vala') 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) { -- cgit v1.2.3