diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-29 11:05:16 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-29 11:05:16 -0600 |
commit | 9c02dfba50242cd2eaf259c3efebc55290cdedcf (patch) | |
tree | a9766c7a04b0ed7b249f0c2d31fff4364d51e472 /src/service.vala | |
parent | 707fd6c5e2d5bdfa6ff1b87f770c1d0b8e8d0894 (diff) | |
download | ayatana-indicator-sound-9c02dfba50242cd2eaf259c3efebc55290cdedcf.tar.gz ayatana-indicator-sound-9c02dfba50242cd2eaf259c3efebc55290cdedcf.tar.bz2 ayatana-indicator-sound-9c02dfba50242cd2eaf259c3efebc55290cdedcf.zip |
prefer Source.REMOVE instead of false in timeout funcs
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala index 40f49b5..707f78d 100644 --- a/src/service.vala +++ b/src/service.vala @@ -507,7 +507,7 @@ public class IndicatorSound.Service: Object { this.mute_blocks_sound = false; this.sound_was_blocked_timeout_id = 0; this.update_root_icon (); - return false; + return Source.REMOVE; }); } @@ -657,7 +657,7 @@ public class IndicatorSound.Service: Object { clear_acts_player(); this.player_action_update_id = 0; - return false; + return Source.REMOVE; } void eventually_update_player_actions () { |