On Wed, 2019-04-24 at 17:49 +0200, Milan Crha wrote:
> There are going to be made huge libecal API changes...
Hi,
upstream libical received additional API changes in the libical-glib
part, which touch also the previous patch. Even it's not released yet I
prepared those new changes (attached).
Bye,
Milan
diff -up syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp.orig2 syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp
--- syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp.orig2 2019-05-02 14:45:02.301086306 +0200
+++ syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp 2019-05-02 14:46:51.081084802 +0200
@@ -760,7 +760,7 @@ EvolutionCalendarSource::InsertItemResul
eptr orig(retrieveItem(id));
ICalProperty *orig_rid = i_cal_component_get_first_property(orig, I_CAL_RECURRENCEID_PROPERTY);
if (orig_rid) {
-i_cal_component_take_property(subcomp, i_cal_property_new_clone(orig_rid));
+i_cal_component_take_property(subcomp, i_cal_property_clone(orig_rid));
}
g_clear_object(&orig_rid);
}
@@ -1448,7 +1448,7 @@ string EvolutionCalendarSource::icalTime
if (tt || !i_cal_time_is_valid_time (tt) || i_cal_time_is_null_time (tt)) {
return "";
} else {
-eptr timestr(i_cal_time_as_ical_string_r(tt));
+eptr timestr(i_cal_time_as_ical_string(tt));
if (!timestr) {
SE_THROW("cannot convert to time string");
}
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution