summaryrefslogtreecommitdiff
path: root/src/up-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/up-history.c')
-rw-r--r--src/up-history.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/up-history.c b/src/up-history.c
index 169d361..b73f6a0 100644
--- a/src/up-history.c
+++ b/src/up-history.c
@@ -884,15 +884,10 @@ static void
up_history_init (UpHistory *history)
{
history->priv = UP_HISTORY_GET_PRIVATE (history);
- history->priv->id = NULL;
- history->priv->rate_last = 0;
- history->priv->percentage_last = 0;
- history->priv->state = UP_DEVICE_STATE_UNKNOWN;
history->priv->data_rate = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
history->priv->data_charge = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
history->priv->data_time_full = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
history->priv->data_time_empty = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
- history->priv->save_id = 0;
history->priv->max_data_age = UP_HISTORY_DEFAULT_MAX_DATA_AGE;
history->priv->dir = g_build_filename (HISTORY_DIR, NULL);
}