aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/eggtraymanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg/eggtraymanager.c')
-rw-r--r--lib/egg/eggtraymanager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/egg/eggtraymanager.c b/lib/egg/eggtraymanager.c
index f076a64d3..2167ea607 100644
--- a/lib/egg/eggtraymanager.c
+++ b/lib/egg/eggtraymanager.c
@@ -686,13 +686,13 @@ egg_tray_manager_get_child_title (EggTrayManager *manager,
return NULL;
}
- if (!g_utf8_validate (val, nitems, NULL))
+ if (!g_utf8_validate ((const gchar *)val, nitems, NULL))
{
XFree (val);
return NULL;
}
- retval = g_strndup (val, nitems);
+ retval = g_strndup ((const gchar *)val, nitems);
XFree (val);