aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUmeshtej <umeshtej@gawab.com>2004-05-10 22:38:47 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-05-10 22:38:47 +0800
commit4416d2361f7e9a9bde055a673b4c9d72a84855b8 (patch)
treecc18f1fc2aefba992044b43e26efe2a508592e7a
parentb14d9b05bb3a1836083e07482ea0fe9fbfd8cadf (diff)
downloadgsoc2013-evolution-4416d2361f7e9a9bde055a673b4c9d72a84855b8.tar.gz
gsoc2013-evolution-4416d2361f7e9a9bde055a673b4c9d72a84855b8.tar.zst
gsoc2013-evolution-4416d2361f7e9a9bde055a673b4c9d72a84855b8.zip
Fixes #58014
2004-05-07 Umeshtej <umeshtej@gawab.com> Fixes #58014 * gui/e-meeting-list-view.c (process_section):Run the for loop for the number of elements in cards. svn path=/trunk/; revision=25841
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-day-view.c8
-rw-r--r--calendar/gui/e-meeting-list-view.c2
3 files changed, 12 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d370f69003..186eebcd7e 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-07 Umeshtej <umeshtej@gawab.com>
+
+ Fixes #58014
+
+ * gui/e-meeting-list-view.c (process_section):Run the for loop
+ for the number of elements in cards.
+
2004-05-10 Trent Lloyd <lathiat@bur.st>
* gui/dialogs/select-source-dialog.c: Include gtkhbox.h and gtkvbox.h
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;