X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fprop.c;h=7beb9a91f6fb0981cc908ff5b7d8c432b1c3afc8;hb=ec3a4e3404d0bd07f0e99e49dc08d0bd148adbeb;hp=bdbde53b2c94187cfe813296b269f614ac71ccf4;hpb=2f0e73cf9d20154c5c84b6ea90e658cf44a6f0c4;p=chaz%2Fopenbox diff --git a/obt/prop.c b/obt/prop.c index bdbde53b..7beb9a91 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, const gchar **strs) { gint i, count; gchar **lstrs; @@ -448,7 +447,7 @@ void obt_prop_set_string_utf8(Window win, Atom prop, const gchar *val) void obt_prop_set_strings_utf8(Window win, Atom prop, const gchar **strs) { GString *str; - const gchar **s; + gchar const **s; str = g_string_sized_new(0); for (s = strs; *s; ++s) {