diff options
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 91c7d77ff9..cc50032734 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1123,14 +1123,8 @@ e_day_view_update_event (EDayView *day_view, g_return_if_fail (E_IS_DAY_VIEW (day_view)); -#if 0 - /* FIXME: Just for testing. */ - chdir ("/home/damon/tmp"); - g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL); - g_print ("In e_day_view_update_event day_view:%p uid:%s\n", day_view, uid); -#endif /* If our calendar or time hasn't been set yet, just return. */ if (!day_view->calendar @@ -1153,7 +1147,7 @@ e_day_view_update_event (EDayView *day_view, } /* We only care about events. */ - if (comp && cal_component_get_vtype (comp) == CAL_COMPONENT_EVENT) { + if (comp && cal_component_get_vtype (comp) != CAL_COMPONENT_EVENT) { gtk_object_unref (GTK_OBJECT (comp)); return; } |