aboutsummaryrefslogtreecommitdiff
path: root/src/profile.vala
diff options
context:
space:
mode:
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;