projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a68cda
)
fix warning
author
Dana Jansens
<danakj@orodu.net>
Mon, 23 Apr 2007 20:36:32 +0000
(20:36 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 23 Apr 2007 20:36:32 +0000
(20:36 +0000)
openbox/prop.c
patch
|
blob
|
history
diff --git
a/openbox/prop.c
b/openbox/prop.c
index 655fd07b9b8cb02903698d0b9072116972dbc606..f0cca6c0adb3f05e0fade09c3e0d1dccae99485a 100644
(file)
--- a/
openbox/prop.c
+++ b/
openbox/prop.c
@@
-406,7
+406,7
@@
void prop_set_array32(Window win, Atom prop, Atom type, gulong *val,
void prop_set_string_utf8(Window win, Atom prop, const gchar *val)
{
XChangeProperty(ob_display, win, prop, prop_atoms.utf8, 8,
- PropModeReplace, (guchar*)val, strlen(val));
+ PropModeReplace, (
const
guchar*)val, strlen(val));
}
void prop_set_strings_utf8(Window win, Atom prop, gchar **strs)