minor change to avoid using deprecated functions.
This commit is contained in:
parent
124003611b
commit
5ffb2d2cb0
2 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,6 @@ gboolean
|
|||
wm_is_running (void)
|
||||
{
|
||||
gboolean result;
|
||||
guint old_mask;
|
||||
XWindowAttributes attrs;
|
||||
|
||||
gdk_error_trap_push ();
|
||||
|
|
|
@ -51,7 +51,7 @@ wm_compare (gconstpointer a, gconstpointer b)
|
|||
const WindowManager *wm_a = (const WindowManager *)a;
|
||||
const WindowManager *wm_b = (const WindowManager *)b;
|
||||
|
||||
return g_strcasecmp (gnome_desktop_item_get_string (wm_a->dentry, GNOME_DESKTOP_ITEM_NAME), gnome_desktop_item_get_string (wm_b->dentry, GNOME_DESKTOP_ITEM_NAME));
|
||||
return g_ascii_strcasecmp (gnome_desktop_item_get_string (wm_a->dentry, GNOME_DESKTOP_ITEM_NAME), gnome_desktop_item_get_string (wm_b->dentry, GNOME_DESKTOP_ITEM_NAME));
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -551,7 +551,7 @@ xml_read_bool (xmlNodePtr node)
|
|||
|
||||
text = xmlNodeGetContent (node);
|
||||
|
||||
if (!g_strcasecmp (text, "true"))
|
||||
if (!g_ascii_strcasecmp (text, "true"))
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue