Updating branch refs/heads/master to 3b7356aef7383e06e24d49446807d35b74475809 (commit) from 72b81849361ae0e76b4e5952d3bd0e902abbbfb0 (commit)
commit 3b7356aef7383e06e24d49446807d35b74475809 Author: Olivier Fourdan <ofour...@xfce.org> Date: Fri Apr 13 20:49:39 2012 +0200 Use g_ascii_strcasecmp () in place of deprecated g_strcasecmp () (bug #8688) src/client.c | 2 +- src/transients.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.c b/src/client.c index cea2de3..4e86808 100644 --- a/src/client.c +++ b/src/client.c @@ -178,7 +178,7 @@ clientCreateTitleName (Client *c, gchar *name, gchar *hostname) screen_info = c->screen_info; display_info = screen_info->display_info; - if (strlen (hostname) && (display_info->hostname) && (g_strcasecmp (display_info->hostname, hostname))) + if (strlen (hostname) && (display_info->hostname) && (g_ascii_strcasecmp (display_info->hostname, hostname))) { /* TRANSLATORS: "(on %s)" is like "running on" the name of the other host */ title = g_strdup_printf (_("%s (on %s)"), name, hostname); diff --git a/src/transients.c b/src/transients.c index 5706783..3cd2105 100644 --- a/src/transients.c +++ b/src/transients.c @@ -447,5 +447,5 @@ clientSameApplication (Client *c1, Client *c2) clientSameLeader (c1, c2) || (c1->pid != 0 && c1->pid == c2->pid && c1->hostname && c2->hostname && - !g_strcasecmp (c1->hostname, c2->hostname))); + !g_ascii_strcasecmp (c1->hostname, c2->hostname))); } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits