aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-29 05:16:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-29 05:16:33 +0800
commit7005a8dcdc6f2fb87826cfb7e7d575130476d65d (patch)
treee500a455ba03ff1c63bce7f8d970704b22a61fd7 /calendar
parent46e5f2d7f950b00e6a523c29fbba9ba43632a80d (diff)
downloadgsoc2013-evolution-7005a8dcdc6f2fb87826cfb7e7d575130476d65d.tar.gz
gsoc2013-evolution-7005a8dcdc6f2fb87826cfb7e7d575130476d65d.tar.zst
gsoc2013-evolution-7005a8dcdc6f2fb87826cfb7e7d575130476d65d.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c4
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c2
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);
}