aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 28ca5ed396..51a292041e 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -926,7 +926,7 @@ e_week_view_update_event (EWeekView *week_view,
return;
/* If one non-recurring event was added, we can just add it. */
- if (flags == CHANGE_NEW && !ico->recur) {
+ if (flags == CHANGE_NEW && ico && !ico->recur) {
num_days = week_view->display_month
? E_WEEK_VIEW_MAX_WEEKS * 7 : 7;
if (ico->dtstart < week_view->day_starts[num_days]
)AuthorAgeFilesLines * - Fix r375988sunpoet2015-01-031-1/+1 * - Update *_DEPENDS: require p5-WWW-Scraper-ISBN 1.00+ which includes p5-WWW-S...sunpoet2015-01-021-2/+3 * - Update to 0.22jadawin2014-12-032-4/+3 * Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-26