aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-05-21 18:47:49 +0800
committerMilan Crha <mcrha@redhat.com>2009-05-21 18:47:49 +0800
commit1c69cee0239f3252a58e142eb4df8d760ee0274d (patch)
treef1d4b5883ff20a7440d1496447be4962ff42f073 /calendar/gui
parentb93ab66792aa3a24e5a360a4710ed0a03c5c8c8e (diff)
downloadgsoc2013-evolution-1c69cee0239f3252a58e142eb4df8d760ee0274d.tar.gz
gsoc2013-evolution-1c69cee0239f3252a58e142eb4df8d760ee0274d.tar.zst
gsoc2013-evolution-1c69cee0239f3252a58e142eb4df8d760ee0274d.zip
Bug #579779 - No crash when updating repeating event
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/comp-util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c
index 57704da0f2..53fdacefb9 100644
--- a/calendar/gui/comp-util.c
+++ b/calendar/gui/comp-util.c
@@ -820,8 +820,7 @@ comp_util_sanitize_recurrence_master (ECalComponent *comp, ECal *client)
e_cal_component_get_recurid (comp, &rid);
e_cal_component_get_dtstart (comp, &sdt);
- if (icaltime_compare_date_only (*rid.datetime.value, *sdt.value) == 0)
- {
+ if (rid.datetime.value && sdt.value && icaltime_compare_date_only (*rid.datetime.value, *sdt.value) == 0) {
ECalComponentDateTime msdt, medt, edt;
int *sequence;