summaryrefslogtreecommitdiff
path: root/obt/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'obt/prop.c')
-rw-r--r--obt/prop.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/obt/prop.c b/obt/prop.c
index ae229e42..bef9c999 100644
--- a/obt/prop.c
+++ b/obt/prop.c
@@ -426,7 +426,8 @@ void obt_prop_set_string_locale(Window win, Atom prop, const gchar *val)
obt_prop_set_strings_locale(win, prop, s);
}
-void obt_prop_set_strings_locale(Window win, Atom prop, const gchar **strs)
+void obt_prop_set_strings_locale(Window win, Atom prop,
+ const gchar *const *strs)
{
gint i, count;
gchar **lstrs;
@@ -456,10 +457,11 @@ void obt_prop_set_string_utf8(Window win, Atom prop, const gchar *val)
PropModeReplace, (const guchar*)val, strlen(val));
}
-void obt_prop_set_strings_utf8(Window win, Atom prop, const gchar **strs)
+void obt_prop_set_strings_utf8(Window win, Atom prop,
+ const gchar *const *strs)
{
GString *str;
- gchar const **s;
+ gchar const *const *s;
str = g_string_sized_new(0);
for (s = strs; *s; ++s) {