From: Milan Crha Date: Tue, 7 May 2019 09:49:30 +0000 (+0100) Subject: Update ecal-2.0 port for further upstream API changes X-Git-Tag: v1.2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1691cef7eef11dc503bc6de7a584f3d6aa6afbba;p=pidgin-chime.git Update ecal-2.0 port for further upstream API changes --- diff --git a/evolution-plugin/event-from-template.c b/evolution-plugin/event-from-template.c index ed19f1b..4b13dfa 100644 --- a/evolution-plugin/event-from-template.c +++ b/evolution-plugin/event-from-template.c @@ -214,11 +214,11 @@ static ECalComponent *generate_comp(const gchar *organizer, const gchar *summary CamelInternetAddress *addresses; gchar *attendee; - tt = i_cal_time_current_time_with_zone (tz); + tt = i_cal_time_new_current_with_zone (tz); /* Round up to the next half hour */ i_cal_time_adjust (tt, 0, 0, 30 - (i_cal_time_get_minute (tt) % 30), - i_cal_time_get_second (tt)); - tt2 = i_cal_time_new_clone (tt); + tt2 = i_cal_time_clone (tt); dt = e_cal_component_datetime_new_take (tt, tz ? g_strdup (i_cal_timezone_get_tzid (tz)) : NULL);