From fdabb69f4f25596df972caa76c85c2aeba26226e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 27 Jul 2007 01:37:28 -0400 Subject: update openbox to use the current parser interface in libobt there is also some random bug fixes for other libobt stuff in here. --- obt/prop.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'obt/prop.c') diff --git a/obt/prop.c b/obt/prop.c index bdbde53b..0a9131ad 100644 --- a/obt/prop.c +++ b/obt/prop.c @@ -410,12 +410,11 @@ void obt_prop_set_array32(Window win, Atom prop, Atom type, gulong *val, void obt_prop_set_string_locale(Window win, Atom prop, const gchar *val) { - const gchar *s[2] = { val, NULL }; + gchar const *s[2] = { val, NULL }; 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, gchar const **strs) { gint i, count; gchar **lstrs; @@ -445,10 +444,10 @@ 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, gchar const **strs) { GString *str; - const gchar **s; + gchar const **s; str = g_string_sized_new(0); for (s = strs; *s; ++s) { -- cgit v1.2.3