aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-30 16:41:01 -0500
committerTed Gould <ted@gould.cx>2011-03-30 16:41:01 -0500
commit0716a8cbc3b51a4dc733042182163d3a229616fe (patch)
tree2bc9e5d014ae48e03a5e67f7c1e9c6189897ae5a /src
parentb690f64445e81b5ce09f5b1eb7b56defb64bbba4 (diff)
parentf8923be6312878885431503e0ee372b1e11676ea (diff)
downloadayatana-indicator-datetime-0716a8cbc3b51a4dc733042182163d3a229616fe.tar.gz
ayatana-indicator-datetime-0716a8cbc3b51a4dc733042182163d3a229616fe.tar.bz2
ayatana-indicator-datetime-0716a8cbc3b51a4dc733042182163d3a229616fe.zip
Syncing with Karl's branch
Diffstat (limited to 'src')
-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;