summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2001-12-14 09:40:20 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2001-12-14 09:40:20 +0000
commitc1e9dd9dbd4c38d90fe705a8b9c1fcb06d421709 (patch)
tree0e1de9b56423eff3c0a9fedd3a31dd822aafce11 /gdk-pixbuf
parentd99bd97fe86bc13dbb483e174722eb68e916781f (diff)
downloadgtk+-c1e9dd9dbd4c38d90fe705a8b9c1fcb06d421709.tar.gz
Use g_ascii_strcasecmp() instead of g_strcasecmp().
2001-12-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog4
-rw-r--r--gdk-pixbuf/io-xpm.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 3fa1ba9dfe..50ad65b335 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
+
2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c
index 5328e75cd8..2e6e33aae4 100644
--- a/gdk-pixbuf/io-xpm.c
+++ b/gdk-pixbuf/io-xpm.c
@@ -898,7 +898,8 @@ static XPMColorEntry xColors[] = {
static int
compare_xcolor_entries (const void *a, const void *b)
{
- return g_strcasecmp ((const char *) a, ((const XPMColorEntry *) b)->name);
+ return g_ascii_strcasecmp ((const char *) a,
+ ((const XPMColorEntry *) b)->name);
}
static gboolean