[Xfce4-commits] <ristretto:master> Resolve compile-warnings
Stephan Arts
noreply at xfce.org
Mon Apr 23 20:54:01 CEST 2012
Updating branch refs/heads/master
to 85a8a2bd9e0dc310f3669c5a6008d19acefcda8d (commit)
from 9c34777033864f900aa94a647cb95c72b1d85c51 (commit)
commit 85a8a2bd9e0dc310f3669c5a6008d19acefcda8d
Author: Stephan Arts <stephan at xfce.org>
Date: Mon Apr 23 20:53:20 2012 +0200
Resolve compile-warnings
src/settings.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/settings.c b/src/settings.c
index 71d77bb..8915297 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -689,10 +689,10 @@ rstto_settings_set_property (GObject *object,
case PROP_NAVBAR_POSITION:
str_val = g_value_get_string (value);
- if ((!g_strcasecmp (str_val, "left")) ||
- (!g_strcasecmp (str_val, "right")) ||
- (!g_strcasecmp (str_val, "bottom")) ||
- (!g_strcasecmp (str_val, "top")))
+ if ((!g_ascii_strcasecmp (str_val, "left")) ||
+ (!g_ascii_strcasecmp (str_val, "right")) ||
+ (!g_ascii_strcasecmp (str_val, "bottom")) ||
+ (!g_ascii_strcasecmp (str_val, "top")))
{
if (settings->priv->navigationbar_position)
g_free (settings->priv->navigationbar_position);
More information about the Xfce4-commits
mailing list