aboutsummaryrefslogtreecommitdiff
path: root/src/volume-warning.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/volume-warning.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/volume-warning.vala')
-rw-r--r--src/volume-warning.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/volume-warning.vala b/src/volume-warning.vala
index 0f06f07..d755c17 100644
--- a/src/volume-warning.vala
+++ b/src/volume-warning.vala
@@ -218,7 +218,7 @@ public class VolumeWarning : Object
{
_pulse_reconnect_timer = 0;
pulse_reconnect ();
- return false; // G_SOURCE_REMOVE
+ return Source.REMOVE;
}
void pulse_reconnect ()
@@ -351,7 +351,7 @@ public class VolumeWarning : Object
private bool on_high_volume_approved_timer() {
_high_volume_approved_timer = 0;
update_high_volume_approved();
- return false; /* Source.REMOVE */
+ return Source.REMOVE;
}
private void update_high_volume_approved() {
var new_high_volume_approved = calculate_high_volume_approved();