aboutsummaryrefslogtreecommitdiff
path: root/src/volume-warning-pulse.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-29 16:21:25 -0600
committercharles kerr <charlesk@canonical.com>2015-12-29 16:21:25 -0600
commit4887db8e4409fa6e83c4ab2b1d5e5429a6956980 (patch)
tree5d7d5b3391dc1ecc7a5500c0056d898da955e46f /src/volume-warning-pulse.vala
parentc7796f4ddfe0b11ecb76853ba5dca17748c725c1 (diff)
downloadayatana-indicator-sound-4887db8e4409fa6e83c4ab2b1d5e5429a6956980.tar.gz
ayatana-indicator-sound-4887db8e4409fa6e83c4ab2b1d5e5429a6956980.tar.bz2
ayatana-indicator-sound-4887db8e4409fa6e83c4ab2b1d5e5429a6956980.zip
clean up tracer GLib.message() calls
Diffstat (limited to 'src/volume-warning-pulse.vala')
-rw-r--r--src/volume-warning-pulse.vala8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/volume-warning-pulse.vala b/src/volume-warning-pulse.vala
index 14b3e71..e6e6f21 100644
--- a/src/volume-warning-pulse.vala
+++ b/src/volume-warning-pulse.vala
@@ -87,7 +87,6 @@ public class VolumeWarningPulse : VolumeWarning
private void update_multimedia_volume_soon () {
- GLib.message("updating multimedia volume soon");
if (_update_sink_timer == 0) {
_update_sink_timer = Timeout.add (soon_interval_msec, () => {
_update_sink_timer = 0;
@@ -155,15 +154,11 @@ public class VolumeWarningPulse : VolumeWarning
private void update_sink_input_soon (uint32 index) {
- GLib.message("adding %d to queue", (int)index);
_pending_sink_inputs.add(index);
if (_update_sink_inputs_timer == 0) {
_update_sink_inputs_timer = Timeout.add (soon_interval_msec, () => {
- _pending_sink_inputs.foreach((i) => {
- GLib.message("flushing input sink queue: index %d", (int)i);
- update_sink_input(i);
- });
+ _pending_sink_inputs.foreach((i) => update_sink_input(i));
_pending_sink_inputs.remove_all();
_update_sink_inputs_timer = 0;
return Source.REMOVE;
@@ -188,7 +183,6 @@ public class VolumeWarningPulse : VolumeWarning
// to keep our multimedia indices up-to-date
case Context.SubscriptionEventType.NEW:
case Context.SubscriptionEventType.CHANGE:
- GLib.message ("-> Context.SubscriptionEventType.CHANGE or NEW");
update_sink_input_soon(index);
break;