Commit Graph
1 Commits
Author SHA1 Message Date
Caio Marcelo de Oliveira Filho ad404c26ed utils: simplify gcal_dup_icaltime
Instead of copying member by member, copy the entire struct contents.
It works as before, but doesn't depend on the member names.

This fixes compiling gnome-calendar with libical 3.0.0, since the
struct icaltimetype had one of the members removed (is_utc).

https://bugzilla.gnome.org/show_bug.cgi?id=790072
2017-11-24 15:13:02 -02:00