event: rewrite timezone support

Now with something that hopefully works.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/43
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/302
This commit is contained in:
Georges Basile Stavracas Neto
2018-09-14 20:16:54 -03:00
parent 84324b3a6f
commit a799678f68
10 changed files with 323 additions and 238 deletions
+6 -5
View File
@@ -106,11 +106,6 @@ const gchar* gcal_event_get_summary (GcalEvent
void gcal_event_set_summary (GcalEvent *self,
const gchar *summary);
GTimeZone* gcal_event_get_timezone (GcalEvent *self);
void gcal_event_set_timezone (GcalEvent *self,
GTimeZone *timezone);
const gchar* gcal_event_get_uid (GcalEvent *self);
/* Utilities */
@@ -129,6 +124,12 @@ void gcal_event_set_recurrence (GcalEvent
GcalRecurrence* gcal_event_get_recurrence (GcalEvent *self);
void gcal_event_save_original_timezones (GcalEvent *self);
void gcal_event_get_original_timezones (GcalEvent *self,
GTimeZone **start_tz,
GTimeZone **end_tz);
G_END_DECLS
#endif /* GCAL_EVENT_H */