diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-18 12:57:50 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-18 12:57:50 +0000 |
commit | 8d4ec58206cf9939830f567c8aaeed5286e785f7 (patch) | |
tree | 49166428b68722338ae861ce40021b492c03bd0d /src/dummy | |
parent | 6845dc144dedf4b9d730b0437e2d2b1f8f87df4b (diff) | |
download | upower-8d4ec58206cf9939830f567c8aaeed5286e785f7.tar.gz |
trivial: switch to using the new enum names internally (no ABI or API break)
Diffstat (limited to 'src/dummy')
-rw-r--r-- | src/dummy/up-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummy/up-backend.c b/src/dummy/up-backend.c index d1445ad..62f24f0 100644 --- a/src/dummy/up-backend.c +++ b/src/dummy/up-backend.c @@ -166,14 +166,14 @@ up_backend_init (UpBackend *backend) "vendor", "hughsie", "model", "BAT1", "serial", "0001", - "type", DKP_DEVICE_TYPE_BATTERY, + "type", UP_DEVICE_TYPE_BATTERY, "online", FALSE, "power-supply", TRUE, "is-present", TRUE, "is-rechargeable", TRUE, "has-history", FALSE, "has-statistics", FALSE, - "state", DKP_DEVICE_STATE_DISCHARGING, + "state", UP_DEVICE_STATE_DISCHARGING, "energy", 0.0f, "energy-empty", 0.0f, "energy-full", 10.0f, |