aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/datetime-service.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 549a45c..fd77948 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -1156,12 +1156,12 @@ session_active_change_cb (GDBusProxy * proxy, gchar * sender_name, gchar * signa
{
// Suspending / returning from suspend (true / false)
if (g_strcmp0(signal_name, "PrepareForSleep") == 0) {
- gboolean sleeping = FALSE;
- g_variant_get (parameters, "(b)", &sleeping);
- if (!sleeping) {
- g_debug ("System has been resumed; adjusting clock");
- on_clock_skew ();
- }
+ gboolean sleeping = FALSE;
+ g_variant_get (parameters, "(b)", &sleeping);
+ if (!sleeping) {
+ g_debug ("System has been resumed; adjusting clock");
+ on_clock_skew ();
+ }
}
return;
}