diff options
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/itip-bonobo-control.c | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 71fc1a6f25..877fcd0f75 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,10 +1,11 @@ 2005-09-28 Tor Lillqvist <tml@novell.com> * 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. + * gui/e-cal-model.c (set_classification) + * gui/itip-bonobo-control.c (pstream_load, pstream_save): 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/itip-bonobo-control.c b/calendar/gui/itip-bonobo-control.c index 391bc1f73d..0a7f61b172 100644 --- a/calendar/gui/itip-bonobo-control.c +++ b/calendar/gui/itip-bonobo-control.c @@ -121,8 +121,8 @@ pstream_load (BonoboPersistStream *ps, const Bonobo_Stream stream, EItipControl *itip = data; idle_data *id; - if (type && g_strcasecmp (type, "text/calendar") != 0 && - g_strcasecmp (type, "text/x-calendar") != 0) { + if (type && g_ascii_strcasecmp (type, "text/calendar") != 0 && + g_ascii_strcasecmp (type, "text/x-calendar") != 0) { bonobo_exception_set (ev, ex_Bonobo_Persist_WrongDataType); return; } @@ -150,8 +150,8 @@ pstream_save (BonoboPersistStream *ps, const Bonobo_Stream stream, gchar *text; gint len; - if (type && g_strcasecmp (type, "text/calendar") != 0 && - g_strcasecmp (type, "text/x-calendar") != 0) { + if (type && g_ascii_strcasecmp (type, "text/calendar") != 0 && + g_ascii_strcasecmp (type, "text/x-calendar") != 0) { bonobo_exception_set (ev, ex_Bonobo_Persist_WrongDataType); return; } |