Index: capplets/appearance/gnome-wp-xml.c
===================================================================
--- capplets/appearance/gnome-wp-xml.c	(revision 9144)
+++ capplets/appearance/gnome-wp-xml.c	(working copy)
@@ -34,7 +34,7 @@
 
   prop = xmlGetProp ((xmlNode *) parent, (xmlChar*)prop_name);
   if (prop != NULL) {
-    if (!g_strcasecmp ((gchar *)prop, "true") || !g_strcasecmp ((gchar *)prop, "1")) {
+    if (!g_ascii_strncasecmp ((gchar *)prop, "true", 5) || !g_ascii_strncasecmp ((gchar *)prop, "1", 2)) {
       ret_val = TRUE;
     } else {
       ret_val = FALSE;
