diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-08-06 15:33:26 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-08-06 15:33:26 -0500 |
commit | b82c9a9de54e3659386a178926dc8ce99917c6f6 (patch) | |
tree | 3811f467837cd2cc49e0c2ef3872fdc156e24a4c /src/profile.vala | |
parent | df2bb3084af551770e9cd3f3e9b4cf59c439041b (diff) | |
download | ayatana-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.vala | 6 |
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; |