aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view.c8
-rw-r--r--calendar/gui/e-meeting-list-view.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 6a74ef4c28..df61ee088f 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -574,10 +574,10 @@ process_component (EDayView *day_view, ECalModelComponent *comp_data)
add_event_data.day_view = day_view;
add_event_data.comp_data = comp_data;
e_cal_recur_generate_instances (comp, day_view->lower,
- day_view->upper,
- e_day_view_add_event, &add_event_data,
- e_cal_resolve_tzid_cb, comp_data->client,
- e_calendar_view_get_timezone (E_CALENDAR_VIEW (day_view)));
+ day_view->upper,
+ e_day_view_add_event, &add_event_data,
+ e_cal_resolve_tzid_cb, comp_data->client,
+ e_calendar_view_get_timezone (E_CALENDAR_VIEW (day_view)));
g_object_unref (comp);
}
diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c
index a4e8850eea..ac3b3f2697 100644
--- a/calendar/gui/e-meeting-list-view.c
+++ b/calendar/gui/e-meeting-list-view.c
@@ -334,7 +334,7 @@ process_section (EMeetingListView *view, EDestination **cards, icalparameter_rol
int i;
priv = view->priv;
- for (i = 0; i < G_N_ELEMENTS (cards); i++) {
+ for (i = 0; cards[i] != NULL; i++) {
const char *name, *attendee = NULL;
char *attr = NULL;