diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-18 15:07:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-18 15:07:30 +0000 |
| commit | 3678f8df8a3d2f5fb20d07d9124c3f0b8618ca5d (patch) | |
| tree | 049afd9c94b22360496e407226831b612fad1d8f /openbox/prop.c | |
| parent | 5fa443efc8f85a2365c1043c547ac2168a294575 (diff) | |
use const char*'s when we should be
Diffstat (limited to 'openbox/prop.c')
| -rw-r--r-- | openbox/prop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/prop.c b/openbox/prop.c index 91dca5cb..3b73b8f2 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -401,7 +401,7 @@ void prop_set_array32(Window win, Atom prop, Atom type, gulong *val, (guchar*)val, num); } -void prop_set_string_utf8(Window win, Atom prop, gchar *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)); |
