summaryrefslogtreecommitdiff
path: root/src/linux/up-device-wup.c
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/linux/up-device-wup.c
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/linux/up-device-wup.c')
-rw-r--r--src/linux/up-device-wup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-device-wup.c b/src/linux/up-device-wup.c
index 717e55d..b8a180a 100644
--- a/src/linux/up-device-wup.c
+++ b/src/linux/up-device-wup.c
@@ -363,7 +363,7 @@ up_device_wup_coldplug (UpDevice *device)
/* hardcode some values */
native_path = g_udev_device_get_sysfs_path (native);
g_object_set (device,
- "type", UP_DEVICE_TYPE_MONITOR,
+ "type", UP_DEVICE_KIND_MONITOR,
"is-rechargeable", FALSE,
"power-supply", FALSE,
"is-present", FALSE,