aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-11-22 01:38:26 +0800
committerMilan Crha <mcrha@redhat.com>2011-11-22 01:38:26 +0800
commit10376436225014326f7cd55f14f4b26c245a3198 (patch)
tree5b0ce69c54f4debd8a593c38693bc0b8e78bb52a /plugins/save-calendar
parenta8e8c4612266db75e1f1a7a489ba3545215eb02f (diff)
downloadgsoc2013-evolution-10376436225014326f7cd55f14f4b26c245a3198.tar.gz
gsoc2013-evolution-10376436225014326f7cd55f14f4b26c245a3198.tar.zst
gsoc2013-evolution-10376436225014326f7cd55f14f4b26c245a3198.zip
Bug #663615 - Saving calendar duplicates the first event
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r--plugins/save-calendar/csv-format.c2
-rw-r--r--plugins/save-calendar/ical-format.c2
-rw-r--r--plugins/save-calendar/rdf-format.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index d80ee25753..f9d97fcf68 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -414,7 +414,7 @@ do_save_calendar_csv (FormatHandler *handler,
}
for (iter = objects; iter; iter = iter->next) {
- ECalComponent *comp = objects->data;
+ ECalComponent *comp = iter->data;
gchar *delimiter_temp = NULL;
const gchar *temp_constchar;
GSList *temp_list;
diff --git a/plugins/save-calendar/ical-format.c b/plugins/save-calendar/ical-format.c
index f323fed99a..1be8ff1147 100644
--- a/plugins/save-calendar/ical-format.c
+++ b/plugins/save-calendar/ical-format.c
@@ -128,7 +128,7 @@ do_save_calendar_ical (FormatHandler *handler,
tdata.client = source_client;
for (iter = objects; iter; iter = iter->next) {
- icalcomponent *icalcomp = objects->data;
+ icalcomponent *icalcomp = iter->data;
icalcomponent_foreach_tzid (icalcomp, insert_tz_comps, &tdata);
icalcomponent_add_component (top_level, icalcomp);
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c
index c93eb1fb59..968a9d6496 100644
--- a/plugins/save-calendar/rdf-format.c
+++ b/plugins/save-calendar/rdf-format.c
@@ -259,7 +259,7 @@ do_save_calendar_rdf (FormatHandler *handler,
xmlNewChild (fnode, NULL, (const guchar *)"version", (const guchar *)"2.0");
for (iter = objects; iter; iter = iter->next) {
- ECalComponent *comp = objects->data;
+ ECalComponent *comp = iter->data;
const gchar *temp_constchar;
gchar *tmp_str = NULL;
GSList *temp_list;