aboutsummaryrefslogtreecommitdiff
path: root/src/profile.vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-06 15:33:26 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-08-06 15:33:26 -0500
commitb82c9a9de54e3659386a178926dc8ce99917c6f6 (patch)
tree3811f467837cd2cc49e0c2ef3872fdc156e24a4c /src/profile.vala
parentdf2bb3084af551770e9cd3f3e9b4cf59c439041b (diff)
downloadayatana-indicator-bluetooth-b82c9a9de54e3659386a178926dc8ce99917c6f6.tar.gz
ayatana-indicator-bluetooth-b82c9a9de54e3659386a178926dc8ce99917c6f6.tar.bz2
ayatana-indicator-bluetooth-b82c9a9de54e3659386a178926dc8ce99917c6f6.zip
copyediting: whitespace, type inference
Diffstat (limited to 'src/profile.vala')
-rw-r--r--src/profile.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profile.vala b/src/profile.vala
index 03c7b8b..96d1b5c 100644
--- a/src/profile.vala
+++ b/src/profile.vala
@@ -68,7 +68,7 @@ class Profile: Object
protected MenuItem create_enabled_menuitem ()
{
- MenuItem item = new MenuItem ("Bluetooth", "indicator.bluetooth-enabled");
+ var item = new MenuItem ("Bluetooth", "indicator.bluetooth-enabled");
item.set_attribute ("x-canonical-type", "s",
"com.canonical.indicator.switch");
@@ -131,8 +131,8 @@ class Profile: Object
protected Variant action_state_for_root ()
{
- bool blocked = bluetooth.blocked;
- bool powered = bluetooth.powered;
+ var blocked = bluetooth.blocked;
+ var powered = bluetooth.powered;
string a11y;
string icon_name;