summaryrefslogtreecommitdiff
path: root/lib/bluetooth/bluetooth.vala
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bluetooth/bluetooth.vala')
-rw-r--r--lib/bluetooth/bluetooth.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth/bluetooth.vala b/lib/bluetooth/bluetooth.vala
index 68431e5..02005c3 100644
--- a/lib/bluetooth/bluetooth.vala
+++ b/lib/bluetooth/bluetooth.vala
@@ -170,7 +170,7 @@ public class AstalBluetooth.Bluetooth : Object {
var battery = new Battery((IBattery)iface);
var device = _devices.lookup(iface.g_object_path);
if (device != null) {
- device.battery = battery;
+ device.set_battery(battery);
}
sync();
}