From abe1e4017d5a095aa911b6736ca8ad0d50c9f1fb Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 29 Oct 2001 22:23:20 +0000 Subject: Fix bug #12163. 2001-10-29 Federico Mena Quintero Fix bug #12163. * cal-util/cal-util.c (compute_alarm_range): Take alarm repetitions into account. (add_alarm_occurrences_cb): Add alarm repetitions. (generate_absolute_triggers): Likewise. (generate_absolute_triggers): Oops, absolute triggers are in UTC, so convert them as such. Also, pay attention to the timezones of the dtstart and dtend properties. svn path=/trunk/; revision=14369 --- calendar/gui/calendar-model.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'calendar/gui/calendar-model.c') diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index f039a3d7e1..39df6f2b32 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -40,6 +40,7 @@ #include "calendar-model.h" #include "evolution-activity-client.h" #include "e-cell-date-edit-text.h" +#include "misc.h" /* This specifies how often we refresh the list, so that completed tasks are hidden according to the config setting, and overdue tasks change color etc. @@ -903,27 +904,6 @@ calendar_model_value_at (ETableModel *etm, int col, int row) } } -/* Returns whether a string is NULL, empty, or full of whitespace */ -static gboolean -string_is_empty (const char *value) -{ - const char *p; - gboolean empty = TRUE; - - if (value) { - p = value; - while (*p) { - if (!isspace ((unsigned char) *p)) { - empty = FALSE; - break; - } - p++; - } - } - return empty; -} - - /* Builds a list of categories from a comma-delimited string */ static GSList * categories_from_string (const char *value) -- cgit v1.2.3