aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ipod-sync/ical-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ipod-sync/ical-format.c')
-rw-r--r--plugins/ipod-sync/ical-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ipod-sync/ical-format.c b/plugins/ipod-sync/ical-format.c
index f6f96b1125..576c8651aa 100644
--- a/plugins/ipod-sync/ical-format.c
+++ b/plugins/ipod-sync/ical-format.c
@@ -89,7 +89,7 @@ do_save_calendar_ical (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSourc
stream = open_for_writing (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (target->selector))), dest_uri, &error);
if (stream && !error) {
- char *ical_str = icalcomponent_as_ical_string (top_level);
+ char *ical_str = icalcomponent_as_ical_string_r (top_level);
g_output_stream_write_all (stream, ical_str, strlen (ical_str), NULL, NULL, &error);
g_output_stream_close (stream, NULL, NULL);