[Xfce4-commits] <xfwm4:master> Don't use deprecated g_strncasecmp (bug #8688).
Nick Schermer
noreply at xfce.org
Fri Apr 13 22:32:01 CEST 2012
Updating branch refs/heads/master
to f73398ac024a2185e3b9064231bd64ba185c780b (commit)
from 3b7356aef7383e06e24d49446807d35b74475809 (commit)
commit f73398ac024a2185e3b9064231bd64ba185c780b
Author: Nick Schermer <nick at xfce.org>
Date: Fri Apr 13 22:30:50 2012 +0200
Don't use deprecated g_strncasecmp (bug #8688).
src/terminate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/terminate.c b/src/terminate.c
index 6d18243..6e83d4b 100644
--- a/src/terminate.c
+++ b/src/terminate.c
@@ -77,7 +77,7 @@ terminateProcessIO (GIOChannel *channel,
}
if (len > 0)
{
- if (!g_strncasecmp(str, "yes", 3))
+ if (!g_ascii_strncasecmp (str, "yes", 3))
{
clientTerminate (c);
}
More information about the Xfce4-commits
mailing list