diff options
author | Suman Manjunath <msuman@novell.com> | 2009-01-21 14:42:45 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2009-01-21 14:42:45 +0800 |
commit | 708696127f3702bdf1bdb424dce490d679420842 (patch) | |
tree | 4eb73877ac45aad4a46174d12c6472f74f10c7f4 /plugins/publish-calendar | |
parent | 5829c4926dad0589d16e858a65d0703c1668aa64 (diff) | |
download | gsoc2013-evolution-708696127f3702bdf1bdb424dce490d679420842.tar.gz gsoc2013-evolution-708696127f3702bdf1bdb424dce490d679420842.tar.zst gsoc2013-evolution-708696127f3702bdf1bdb424dce490d679420842.zip |
** Fix for bug #541209
2009-01-21 Suman Manjunath <msuman@novell.com>
** Fix for bug #541209
** Adapt to the new APIs from upstream libical. Changes made include
using the "_r" counterpart for the following APIs:
+ icalproperty_as_ical_string ()
+ icalvalue_as_ical_string ()
+ icalcomponent_as_ical_string ()
+ icalparameter_as_ical_string ()
+ icaldurationtype_as_ical_string ()
+ icalenum_reqstat_code ()
+ icallangbind_property_eval_string ()
+ icallangbind_quote_as_ical ()
+ icalmime_text_end_part ()
+ icalperiodtype_as_ical_string ()
+ icalproperty_enum_to_string ()
+ icalproperty_get_parameter_as_string ()
+ icalproperty_get_value_as_string ()
+ icalproperty_get_property_name ()
+ icalrecurrencetype_as_string ()
+ icaltime_as_ical_string ()
+ icalreqstattype_as_string ()
+ icalvalue_binary_as_ical_string ()
+ icalvalue_int_as_ical_string ()
+ icalvalue_utcoffset_as_ical_string ()
+ icalvalue_string_as_ical_string ()
+ icalvalue_recur_as_ical_string ()
+ icalvalue_text_as_ical_string ()
+ icalvalue_attach_as_ical_string ()
+ icalvalue_duration_as_ical_string ()
+ icalvalue_date_as_ical_string ()
+ icalvalue_datetime_as_ical_string ()
+ icalvalue_float_as_ical_string ()
+ icalvalue_geo_as_ical_string ()
+ icalvalue_datetimeperiod_as_ical_string ()
+ icalvalue_period_as_ical_string ()
+ icalvalue_trigger_as_ical_string ()
+ icalvalue_as_ical_string ()
svn path=/trunk/; revision=37113
Diffstat (limited to 'plugins/publish-calendar')
-rw-r--r-- | plugins/publish-calendar/ChangeLog | 43 | ||||
-rw-r--r-- | plugins/publish-calendar/publish-format-fb.c | 2 | ||||
-rw-r--r-- | plugins/publish-calendar/publish-format-ical.c | 2 |
3 files changed, 45 insertions, 2 deletions
diff --git a/plugins/publish-calendar/ChangeLog b/plugins/publish-calendar/ChangeLog index ad18f9331a..afafa7790c 100644 --- a/plugins/publish-calendar/ChangeLog +++ b/plugins/publish-calendar/ChangeLog @@ -1,3 +1,46 @@ +2009-01-21 Suman Manjunath <msuman@novell.com> + + ** Fix for bug #541209 + + ** Adapt to the new APIs from upstream libical. Changes made include + using the "_r" counterpart for the following APIs: + + icalproperty_as_ical_string () + + icalvalue_as_ical_string () + + icalcomponent_as_ical_string () + + icalparameter_as_ical_string () + + icaldurationtype_as_ical_string () + + icalenum_reqstat_code () + + icallangbind_property_eval_string () + + icallangbind_quote_as_ical () + + icalmime_text_end_part () + + icalperiodtype_as_ical_string () + + icalproperty_enum_to_string () + + icalproperty_get_parameter_as_string () + + icalproperty_get_value_as_string () + + icalproperty_get_property_name () + + icalrecurrencetype_as_string () + + icaltime_as_ical_string () + + icalreqstattype_as_string () + + icalvalue_binary_as_ical_string () + + icalvalue_int_as_ical_string () + + icalvalue_utcoffset_as_ical_string () + + icalvalue_string_as_ical_string () + + icalvalue_recur_as_ical_string () + + icalvalue_text_as_ical_string () + + icalvalue_attach_as_ical_string () + + icalvalue_duration_as_ical_string () + + icalvalue_date_as_ical_string () + + icalvalue_datetime_as_ical_string () + + icalvalue_float_as_ical_string () + + icalvalue_geo_as_ical_string () + + icalvalue_datetimeperiod_as_ical_string () + + icalvalue_period_as_ical_string () + + icalvalue_trigger_as_ical_string () + + icalvalue_as_ical_string () + + * publish-format-fb.c (write_calendar): + * publish-format-ical.c (write_calendar): + 2008-12-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #359010 diff --git a/plugins/publish-calendar/publish-format-fb.c b/plugins/publish-calendar/publish-format-fb.c index f958fe5344..40d0258f8a 100644 --- a/plugins/publish-calendar/publish-format-fb.c +++ b/plugins/publish-calendar/publish-format-fb.c @@ -84,7 +84,7 @@ write_calendar (gchar *uid, ESourceList *source_list, GOutputStream *stream) objects = g_list_remove (objects, comp); } - ical_string = icalcomponent_as_ical_string (top_level); + ical_string = icalcomponent_as_ical_string_r (top_level); res = g_output_stream_write_all (stream, ical_string, strlen (ical_string), NULL, NULL, &error); g_free (ical_string); diff --git a/plugins/publish-calendar/publish-format-ical.c b/plugins/publish-calendar/publish-format-ical.c index 87752e826e..f6dcc461c9 100644 --- a/plugins/publish-calendar/publish-format-ical.c +++ b/plugins/publish-calendar/publish-format-ical.c @@ -113,7 +113,7 @@ write_calendar (gchar *uid, ESourceList *source_list, GOutputStream *stream) g_hash_table_destroy (tdata.zones); tdata.zones = NULL; - ical_string = icalcomponent_as_ical_string (top_level); + ical_string = icalcomponent_as_ical_string_r (top_level); res = g_output_stream_write_all (stream, ical_string, strlen (ical_string), NULL, NULL, &error); g_free (ical_string); } |