summaryrefslogtreecommitdiff
path: root/src/up-history.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-18 12:49:30 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-18 12:49:30 +0000
commit25e51c96136c45632091a7b240f8935ce1d239ce (patch)
tree85d17e0631078617488d2b626575003f80bd7686 /src/up-history.c
parentd2550b4c7854e970719b07b48ecdb61af9c01b6f (diff)
downloadupower-25e51c96136c45632091a7b240f8935ce1d239ce.tar.gz
trivial: DkpDevice -> UpDevice (no ABI or API break)
Diffstat (limited to 'src/up-history.c')
-rw-r--r--src/up-history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/up-history.c b/src/up-history.c
index 6f2581a..c1a1c5d 100644
--- a/src/up-history.c
+++ b/src/up-history.c
@@ -45,7 +45,7 @@ struct DkpHistoryPrivate
gint64 time_full_last;
gint64 time_empty_last;
gdouble percentage_last;
- DkpDeviceState state;
+ UpDeviceState state;
GPtrArray *data_rate;
GPtrArray *data_charge;
GPtrArray *data_time_full;
@@ -114,7 +114,7 @@ dkp_history_array_limit_resolution (GPtrArray *array, guint max_num)
guint last;
guint first;
GPtrArray *new;
- DkpDeviceState state = DKP_DEVICE_STATE_UNKNOWN;
+ UpDeviceState state = DKP_DEVICE_STATE_UNKNOWN;
guint64 time_s = 0;
gdouble value = 0;
guint64 count = 0;
@@ -669,7 +669,7 @@ dkp_history_set_id (DkpHistory *history, const gchar *id)
* dkp_history_set_state:
**/
gboolean
-dkp_history_set_state (DkpHistory *history, DkpDeviceState state)
+dkp_history_set_state (DkpHistory *history, UpDeviceState state)
{
g_return_val_if_fail (DKP_IS_HISTORY (history), FALSE);