aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/im-menu-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 6e3a461..f9a09e6 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -283,7 +283,7 @@ time_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateL
update_time(self);
if (priv->time_update_min == 0) {
- g_timeout_add_seconds(60, time_update_cb, self);
+ priv->time_update_min = g_timeout_add_seconds(60, time_update_cb, self);
}
g_signal_emit(G_OBJECT(self), signals[TIME_CHANGED], 0, priv->seconds, TRUE);