aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/comp-util.h')
-rw-r--r--calendar/gui/comp-util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/gui/comp-util.h b/calendar/gui/comp-util.h
index d0c39259ab..efc09a8fe9 100644
--- a/calendar/gui/comp-util.h
+++ b/calendar/gui/comp-util.h
@@ -24,7 +24,16 @@
#define COMP_UTIL_H
#include <cal-util/cal-component.h>
+#include <cal-client/cal-client.h>
void cal_comp_util_add_exdate (CalComponent *comp, time_t t, icaltimezone *zone);
+
+/* Returns TRUE if the component uses the given timezone for both DTSTART
+ and DTEND, or if the UTC offsets of the start and end times are the same
+ as in the given zone. */
+gboolean cal_comp_util_compare_event_timezones (CalComponent *comp,
+ CalClient *client,
+ icaltimezone *zone);
+
#endif