diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/e-cal-model.c | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 71632ccf0b..71fc1a6f25 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,9 +1,10 @@ 2005-09-28 Tor Lillqvist <tml@novell.com> - * gui/e-cal-model-calendar.c (set_transparency): Use - g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to - literal ASCII strings, just casefolding ASCII is enough. Also - better for portability. + * gui/e-cal-model-calendar.c (set_transparency) + * gui/e-cal-model.c (set_classification): Use g_ascii_strcasecmp() + instead of strcasecmp(). We are comparing to literal ASCII + strings, just casefolding ASCII is enough. Also better for + portability. 2005-09-08 P. S. Chakravarthi <pchakravarthi@novell.com> diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index 0c6f3bb89a..795d47cf6a 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -543,11 +543,11 @@ set_classification (ECalModelComponent *comp_data, const char *value) } else { icalproperty_class ical_class; - if (!strcasecmp (value, "PUBLIC")) + if (!g_ascii_strcasecmp (value, "PUBLIC")) ical_class = ICAL_CLASS_PUBLIC; - else if (!strcasecmp (value, "PRIVATE")) + else if (!g_ascii_strcasecmp (value, "PRIVATE")) ical_class = ICAL_CLASS_PRIVATE; - else if (!strcasecmp (value, "CONFIDENTIAL")) + else if (!g_ascii_strcasecmp (value, "CONFIDENTIAL")) ical_class = ICAL_CLASS_CONFIDENTIAL; else ical_class = ICAL_CLASS_NONE; |