[folks] bluez: Fix incorrect indentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] bluez: Fix incorrect indentation
- Date: Sun, 2 Jul 2017 19:57:30 +0000 (UTC)
commit 440b3d756bb8a12e4e3a72a1b3e3e0e2f309a6cb
Author: Philip Withnall <withnall endlessm com>
Date: Sun Jul 2 20:49:37 2017 +0100
bluez: Fix incorrect indentation
No functional changes.
Signed-off-by: Philip Withnall <withnall endlessm com>
backends/bluez/bluez-backend.vala | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/backends/bluez/bluez-backend.vala b/backends/bluez/bluez-backend.vala
index a362f81..cc0b20c 100644
--- a/backends/bluez/bluez-backend.vala
+++ b/backends/bluez/bluez-backend.vala
@@ -629,24 +629,24 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
}
}
- /* Update the set of enabled devices in memory. */
- this._enabled_devices.clear ();
- var groups = kf.get_groups ();
- foreach (var address in groups)
+ /* Update the set of enabled devices in memory. */
+ this._enabled_devices.clear ();
+ var groups = kf.get_groups ();
+ foreach (var address in groups)
+ {
+ try
{
- try
- {
- if (kf.get_boolean (address, "enabled"))
- {
- debug (" Enabling device ā%sā", address);
- this._enabled_devices.add (address);
- }
- }
- catch (GLib.KeyFileError e)
+ if (kf.get_boolean (address, "enabled"))
{
- /* Ignore. */
+ debug (" Enabling device ā%sā", address);
+ this._enabled_devices.add (address);
}
}
+ catch (GLib.KeyFileError e)
+ {
+ /* Ignore. */
+ }
+ }
}
private delegate Type TypeFunc ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]