X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fprop.c;h=bef9c9996d4d091707d7cf9ed4b0016c6da7025d;hb=eafcc0603070499ec679530030a91e3d547a0718;hp=3af9c7d7483bdc8e6b81d41864cfe0cbcf08ae13;hpb=567fd15eebdd44e50cef140419dbf7a336708109;p=chaz%2Fopenbox diff --git a/obt/prop.c b/obt/prop.c index 3af9c7d7..bef9c999 100644 --- a/obt/prop.c +++ b/obt/prop.c @@ -192,6 +192,7 @@ void obt_prop_startup(void) CREATE_(OB_CONTROL); CREATE_(OB_VERSION); CREATE_(OB_APP_ROLE); + CREATE_(OB_APP_TITLE); CREATE_(OB_APP_NAME); CREATE_(OB_APP_CLASS); CREATE_(OB_APP_TYPE); @@ -425,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; @@ -455,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) {