aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-datetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index cafcf1f..3f9344d 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -824,9 +824,9 @@ static void
session_active_change_cb (GDBusProxy * proxy, gchar * sender_name, gchar * signal_name,
GVariant * parameters, gpointer user_data)
{
+ // Just returned from suspend
+ IndicatorDatetime * self = INDICATOR_DATETIME(user_data);
if (g_strcmp0(signal_name, "ActiveChanged") == 0) {
- // Just returned from suspend
- IndicatorDatetime * self = INDICATOR_DATETIME(user_data);
update_time(self);
}
return;