aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control-pulse.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-control-pulse.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-control-pulse.vala')
-rw-r--r--src/volume-control-pulse.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index 661e71b..6d777c4 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -488,7 +488,7 @@ public class VolumeControlPulse : VolumeControl
{
_reconnect_timer = 0;
reconnect_to_pulse ();
- return false; // G_SOURCE_REMOVE
+ return Source.REMOVE;
}
void reconnect_to_pulse ()
@@ -939,7 +939,7 @@ public class VolumeControlPulse : VolumeControl
_send_next_local_volume = false;
start_local_volume_timer ();
}
- return false; // G_SOURCE_REMOVE
+ return Source.REMOVE;
}
private void start_account_service_volume_timer()
@@ -972,6 +972,6 @@ public class VolumeControlPulse : VolumeControl
{
_accountservice_volume_timer = 0;
start_account_service_volume_timer ();
- return false; // G_SOURCE_REMOVE
+ return Source.REMOVE;
}
}