diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 4 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 605845a84e..677c234b6a 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -1117,7 +1117,7 @@ local_record_from_comp (ECalLocalRecord *local, ECalComponent *comp, ECalConduit + trigger.u.rel_duration.hours * 60 + trigger.u.rel_duration.days * 60 * 24 + trigger.u.rel_duration.weeks * 7 * 60 * 24; - + if (local->appt->advance > PILOT_MAX_ADVANCE) { local->appt->advanceUnits = advHours; local->appt->advance = @@ -1136,7 +1136,7 @@ local_record_from_comp (ECalLocalRecord *local, ECalComponent *comp, ECalConduit } if (local->appt->advance > PILOT_MAX_ADVANCE) local->appt->advance = PILOT_MAX_ADVANCE; - + local->appt->alarm = 1; break; } else if (icaldurationtype_is_null_duration (trigger.u.rel_duration)) { diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index d5750e22ca..25010a649d 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -179,7 +179,7 @@ message_push (Message *msg) { /* This used be pushed through the thread pool. This fix is made to work-around the crashers in dbus due to threading. The threading is not completely removed as - its better to have alarm daemon running in a thread rather than blocking main thread. + its better to have alarm daemon running in a thread rather than blocking main thread. This is the reason the creation of thread pool is commented out */ msg->func (msg); } |