summaryrefslogtreecommitdiff
path: root/src/up-device.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-02-06 04:29:57 +0100
committerRichard Hughes <richard@hughsie.com>2010-02-06 13:46:03 +0000
commit8e3791afe481b7272d35877d11ab26b4c131383b (patch)
tree43c8c462ff2b02491ab1820325bb805ac2d463af /src/up-device.c
parent4a12ee1bf7b8a3a73812adfaed47324f4e22c0e6 (diff)
downloadupower-8e3791afe481b7272d35877d11ab26b4c131383b.tar.gz
devkit-power-gobject/up-enum.h be gone
Port from devkit-power-gobject/up-enum.h to libupower-glib/up-types.h
Diffstat (limited to 'src/up-device.c')
-rw-r--r--src/up-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-device.c b/src/up-device.c
index 5ace215..326de3f 100644
--- a/src/up-device.c
+++ b/src/up-device.c
@@ -795,7 +795,7 @@ up_device_compute_object_path (UpDevice *device)
const gchar *type;
guint i;
- type = up_device_kind_to_text (device->priv->type);
+ type = up_device_kind_to_string (device->priv->type);
native_path = device->priv->native_path;
basename = g_path_get_basename (native_path);
id = g_strjoin ("_", type, basename, NULL);