summaryrefslogtreecommitdiff
path: root/src/dummy
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-26 10:53:04 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-26 10:53:04 +0000
commit5e8ba5457305da1fef2a891a3766e9612506c58b (patch)
tree6429bfee48cd210b34941eea5b4c3dc04c28f248 /src/dummy
parent27fada20be7feba6783abc5b6cad91ee274ad3df (diff)
downloadupower-5e8ba5457305da1fef2a891a3766e9612506c58b.tar.gz
trivial: rename the new libupower 'type' to 'kind' to avoid clashing with GObject generated names
Diffstat (limited to 'src/dummy')
-rw-r--r--src/dummy/up-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dummy/up-backend.c b/src/dummy/up-backend.c
index b8bef27..dd6f05e 100644
--- a/src/dummy/up-backend.c
+++ b/src/dummy/up-backend.c
@@ -166,7 +166,7 @@ up_backend_init (UpBackend *backend)
"vendor", "hughsie",
"model", "BAT1",
"serial", "0001",
- "type", UP_DEVICE_TYPE_BATTERY,
+ "type", UP_DEVICE_KIND_BATTERY,
"online", FALSE,
"power-supply", TRUE,
"is-present", TRUE,