diff options
author | Marcel Stimberg <marcelcoding@googlemail.com> | 2009-05-04 12:40:55 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@novell.com> | 2009-05-04 12:40:55 +0800 |
commit | 6e72a236dcb592a942881e118d6a71888ea1581b (patch) | |
tree | c4c3c8a45aa257efd819dea3a59c14c9c0b117b7 /calendar/gui/alarm-notify/alarm.c | |
parent | fad86a267fd3c0ebc402ca67f14a0d2f74f57b74 (diff) | |
download | gsoc2013-evolution-6e72a236dcb592a942881e118d6a71888ea1581b.tar.gz gsoc2013-evolution-6e72a236dcb592a942881e118d6a71888ea1581b.tar.zst gsoc2013-evolution-6e72a236dcb592a942881e118d6a71888ea1581b.zip |
** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_add
According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to
the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a
timeout in seconds is desired.
Diffstat (limited to 'calendar/gui/alarm-notify/alarm.c')
-rw-r--r-- | calendar/gui/alarm-notify/alarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c index bf96f1f664..5dca49ae25 100644 --- a/calendar/gui/alarm-notify/alarm.c +++ b/calendar/gui/alarm-notify/alarm.c @@ -153,7 +153,7 @@ setup_timeout (void) g_message ("Setting timeout for %d %lu %lu", diff, ar->trigger, now); g_message (" %s", ctime (&ar->trigger)); g_message (" %s", ctime (&now)); - timeout_id = g_timeout_add (diff * 1000, alarm_ready_cb, NULL); + timeout_id = g_timeout_add_seconds (diff, alarm_ready_cb, NULL); } |