aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control-pulse.vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-08-12 09:00:56 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-08-12 09:00:56 -0500
commita78a8c0394bf2d4050b3748e8e753a8935849879 (patch)
treed4aef979085a42225b8b3260d0e335d2fdb30a1e /src/volume-control-pulse.vala
parent6bfef752b163253821d6c967fabb8ca04c542fec (diff)
downloadayatana-indicator-sound-a78a8c0394bf2d4050b3748e8e753a8935849879.tar.gz
ayatana-indicator-sound-a78a8c0394bf2d4050b3748e8e753a8935849879.tar.bz2
ayatana-indicator-sound-a78a8c0394bf2d4050b3748e8e753a8935849879.zip
copyediting: make tabs use in the new code consistent with existing codebase
Diffstat (limited to 'src/volume-control-pulse.vala')
-rw-r--r--src/volume-control-pulse.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index bc0fa40..21e7a5c 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -28,8 +28,8 @@ extern unowned PulseAudio.CVolume? vol_set (PulseAudio.CVolume? cv, uint channel
[DBus (name="com.canonical.UnityGreeter.List")]
interface GreeterListInterface : Object
{
- public abstract async string get_active_entry () throws IOError;
- public signal void entry_selected (string entry_name);
+ public abstract async string get_active_entry () throws IOError;
+ public signal void entry_selected (string entry_name);
}
public class VolumeControlPulse : VolumeControl
@@ -212,7 +212,7 @@ public class VolumeControlPulse : VolumeControl
vol.volume = volume_to_double (i.volume.max ());
vol.reason = VolumeControl.VolumeReasons.PULSE_CHANGE;
this.volume = vol;
- }
+ }
}
private void source_info_cb (Context c, SourceInfo? i, int eol)
@@ -768,9 +768,9 @@ public class VolumeControlPulse : VolumeControl
}
}
private bool calculate_high_volume_approved() {
- int64 now = GLib.get_monotonic_time();
- return (_high_volume_approved_at != 0)
- && (_high_volume_approved_at + _high_volume_approved_ttl_usec >= now);
+ int64 now = GLib.get_monotonic_time();
+ return (_high_volume_approved_at != 0)
+ && (_high_volume_approved_at + _high_volume_approved_ttl_usec >= now);
}
public override void approve_high_volume() {
_high_volume_approved_at = GLib.get_monotonic_time();