diff options
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r-- | calendar/gui/calendar-model.c | 22 |
1 files changed, 1 insertions, 21 deletions
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) |