summaryrefslogtreecommitdiff
path: root/src/up-history.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-14 09:16:06 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-14 11:06:53 +0200
commitac1708e86e0f87c25e5cf7e11a82324c5d002fba (patch)
treebe716d62b8eee8a6ae21597eb2f4015bea2941a0 /src/up-history.c
parentd2484d4ec143348628f7129f21ad1fce23050b22 (diff)
downloadupower-ac1708e86e0f87c25e5cf7e11a82324c5d002fba.tar.gz
daemon: Require newer GLib
And remove ifdef's.
Diffstat (limited to 'src/up-history.c')
-rw-r--r--src/up-history.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/up-history.c b/src/up-history.c
index b73f6a0..1751948 100644
--- a/src/up-history.c
+++ b/src/up-history.c
@@ -652,9 +652,7 @@ up_history_schedule_save (UpHistory *history)
g_debug ("saving in %i seconds", UP_HISTORY_SAVE_INTERVAL);
history->priv->save_id = g_timeout_add_seconds (UP_HISTORY_SAVE_INTERVAL,
(GSourceFunc) up_history_schedule_save_cb, history);
-#if GLIB_CHECK_VERSION(2,25,8)
g_source_set_name_by_id (history->priv->save_id, "[UpHistory] save");
-#endif
return TRUE;
}