From 65096669137f498e2cffb49fa4de843553f135e7 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 23 Apr 2010 16:19:12 +0100 Subject: improve alarm debugging output --- calendar/gui/alarm-notify/alarm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c index 14f66a68fb..a4be16bd69 100644 --- a/calendar/gui/alarm-notify/alarm.c +++ b/calendar/gui/alarm-notify/alarm.c @@ -152,7 +152,8 @@ setup_timeout (void) now = time (NULL); /* Add the time out */ - d(g_message ("Setting timeout for %d %lu %lu", diff, ar->trigger, now)); + d(g_message ("Setting timeout for %d.%2d (from now) %lu %lu", + diff / 60, diff % 60, ar->trigger, now)); d(g_message (" %s", ctime (&ar->trigger))); d(g_message (" %s", ctime (&now))); timeout_id = g_timeout_add_seconds (diff, alarm_ready_cb, NULL); -- cgit v1.2.3