aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-26 01:42:55 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-26 01:42:55 +0800
commit8bedc01ea38621443178dececadeefa639ece958 (patch)
tree624f633dc58440f3d641d0f234aa3be817d291de /calendar/gui/e-day-view.c
parente8bff6c44ec77124c393259f84bdf73737e0e7c7 (diff)
downloadgsoc2013-evolution-8bedc01ea38621443178dececadeefa639ece958.tar.gz
gsoc2013-evolution-8bedc01ea38621443178dececadeefa639ece958.tar.zst
gsoc2013-evolution-8bedc01ea38621443178dececadeefa639ece958.zip
allow for null ico
* gui/e-day-view.c (e_day_view_update_event): allow for null ico * gui/e-week-view.c (e_week_view_update_event): allow for null ico svn path=/trunk/; revision=2605
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 2ec44e2ac6..e47cbed34b 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1080,7 +1080,7 @@ e_day_view_update_event (EDayView *day_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) {
if (ico->dtstart < day_view->upper
&& ico->dtend > day_view->lower) {
e_day_view_add_event (ico, ico->dtstart, ico->dtend,