aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-calendar.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-09-28 18:07:34 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-09-28 18:07:34 +0800
commita527f288125ec1f05e95346c90f85fe89563cc79 (patch)
tree0b03afb403f06756ca3062ca351681ebdaf0d635 /calendar/gui/e-cal-model-calendar.c
parent247a12697fd421a1e461ec85bb1ea569f18fcf13 (diff)
downloadgsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.tar
gsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.tar.gz
gsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.tar.bz2
gsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.tar.lz
gsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.tar.xz
gsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.tar.zst
gsoc2013-evolution-a527f288125ec1f05e95346c90f85fe89563cc79.zip
Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
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. svn path=/trunk/; revision=30392
Diffstat (limited to 'calendar/gui/e-cal-model-calendar.c')
-rw-r--r--calendar/gui/e-cal-model-calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-model-calendar.c b/calendar/gui/e-cal-model-calendar.c
index a03ffe37a4..aa3d667b62 100644
--- a/calendar/gui/e-cal-model-calendar.c
+++ b/calendar/gui/e-cal-model-calendar.c
@@ -308,9 +308,9 @@ set_transparency (ECalModelComponent *comp_data, const void *value)
} else {
icalproperty_transp transp;
- if (!strcasecmp (value, "FREE"))
+ if (!g_ascii_strcasecmp (value, "FREE"))
transp = ICAL_TRANSP_TRANSPARENT;
- else if (!strcasecmp (value, "OPAQUE"))
+ else if (!g_ascii_strcasecmp (value, "OPAQUE"))
transp = ICAL_TRANSP_OPAQUE;
else {
if (prop) {