diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-01-08 09:21:39 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-01-08 09:21:39 +0800 |
commit | a37d740fddbd813175adb914f92983fe8c816a8f (patch) | |
tree | 7f02306d18dbe1d6222b2b68132039b058516cbd /calendar/gui | |
parent | 7e257ae6bf7813b3e07677ca40c7f7f347feaaaa (diff) | |
download | gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.tar gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.tar.gz gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.tar.bz2 gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.tar.lz gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.tar.xz gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.tar.zst gsoc2013-evolution-a37d740fddbd813175adb914f92983fe8c816a8f.zip |
call e_cal_view_start to actually start the live query.
2004-01-07 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-queue.c (load_alarms): call e_cal_view_start
to actually start the live query.
(add_component_alarms): check the 'alarms' parameter before using it.
svn path=/trunk/; revision=24100
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 62c1a0a3fd..15940e7de8 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -323,8 +323,9 @@ add_component_alarms (ClientAlarms *ca, ECalComponentAlarms *alarms) GSList *l; /* No alarms? */ - if (alarms->alarms == NULL) { - e_cal_component_alarms_free (alarms); + if (alarms == NULL || alarms->alarms == NULL) { + if (alarms) + e_cal_component_alarms_free (alarms); return; } |