]> www.infradead.org Git - pidgin-chime.git/commitdiff
Update ecal-2.0 port for further upstream API changes
authorMilan Crha <mcrha@redhat.com>
Tue, 7 May 2019 09:49:30 +0000 (10:49 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 May 2019 09:49:30 +0000 (10:49 +0100)
evolution-plugin/event-from-template.c

index ed19f1b5b88e46b9e30c252974db075c5cff16de..4b13dfa8d949b2252f4694e22bd4371d34c2721e 100644 (file)
@@ -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);