gnome-control-center r9146 - trunk/capplets/appearance



Author: jensg
Date: Thu Nov 20 18:16:59 2008
New Revision: 9146
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9146&view=rev

Log:
2008-11-20  Jens Granseuer  <jensgr gmx net>

	Patch by: Maxim Ermilov <zaspire rambler ru>

	* gnome-wp-xml.c: (gnome_wp_xml_get_bool): use g_ascii_strcasecmp
	instead of the deprecated g_strcasecmp (bug #560424)


Modified:
   trunk/capplets/appearance/ChangeLog
   trunk/capplets/appearance/gnome-wp-xml.c

Modified: trunk/capplets/appearance/gnome-wp-xml.c
==============================================================================
--- trunk/capplets/appearance/gnome-wp-xml.c	(original)
+++ trunk/capplets/appearance/gnome-wp-xml.c	Thu Nov 20 18:16:59 2008
@@ -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_strcasecmp ((gchar *)prop, "true") || !g_ascii_strcasecmp ((gchar *)prop, "1")) {
       ret_val = TRUE;
     } else {
       ret_val = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]