summaryrefslogtreecommitdiff
path: root/src/linux/up-device-wup.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-18 12:57:50 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-18 12:57:50 +0000
commit8d4ec58206cf9939830f567c8aaeed5286e785f7 (patch)
tree49166428b68722338ae861ce40021b492c03bd0d /src/linux/up-device-wup.c
parent6845dc144dedf4b9d730b0437e2d2b1f8f87df4b (diff)
trivial: switch to using the new enum names internally (no ABI or API break)
Diffstat (limited to 'src/linux/up-device-wup.c')
-rw-r--r--src/linux/up-device-wup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/up-device-wup.c b/src/linux/up-device-wup.c
index 96aec4f..ff89178 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", DKP_DEVICE_TYPE_MONITOR,
+ "type", UP_DEVICE_TYPE_MONITOR,
"is-rechargeable", FALSE,
"power-supply", FALSE,
"is-present", FALSE,
@@ -371,7 +371,7 @@ up_device_wup_coldplug (UpDevice *device)
"model", product,
"serial", g_strstrip (sysfs_get_string (native_path, "serial")),
"has-history", TRUE,
- "state", DKP_DEVICE_STATE_DISCHARGING,
+ "state", UP_DEVICE_STATE_DISCHARGING,
NULL);
/* coldplug */