summaryrefslogtreecommitdiff
path: root/src/up-device.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-18 13:50:38 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-18 13:50:38 +0000
commit8b219b243e1de178a96743f838865d2c0aac9512 (patch)
treeecc66ec972d23264ec609f32c06befdb01b85d9e /src/up-device.c
parent3e8e98f59839eef641028b275cee2b765ac9da86 (diff)
downloadupower-8b219b243e1de178a96743f838865d2c0aac9512.tar.gz
trivial: DkpStatsObj -> UpStatsObj (no ABI or API break)
Diffstat (limited to 'src/up-device.c')
-rw-r--r--src/up-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/up-device.c b/src/up-device.c
index 741d63e..2ea94df 100644
--- a/src/up-device.c
+++ b/src/up-device.c
@@ -596,7 +596,7 @@ up_device_get_statistics (UpDevice *device, const gchar *type, DBusGMethodInvoca
GError *error;
GPtrArray *array = NULL;
GPtrArray *complex;
- const DkpStatsObj *obj;
+ const UpStatsObj *obj;
GValue *value;
guint i;
@@ -633,7 +633,7 @@ up_device_get_statistics (UpDevice *device, const gchar *type, DBusGMethodInvoca
/* copy data to dbus struct */
complex = g_ptr_array_sized_new (array->len);
for (i=0; i<array->len; i++) {
- obj = (const DkpStatsObj *) g_ptr_array_index (array, i);
+ obj = (const UpStatsObj *) g_ptr_array_index (array, i);
value = g_new0 (GValue, 1);
g_value_init (value, DKP_DBUS_STRUCT_DOUBLE_DOUBLE);
g_value_take_boxed (value, dbus_g_type_specialized_construct (DKP_DBUS_STRUCT_DOUBLE_DOUBLE));