X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ftranslate.c;h=11a88f662129c8ac12a229b6c5131e5735d0e4c8;hb=ebe3091560a859996a9904c342c62b512b39bee0;hp=9ae4f43111ecea5cbfb03e123e3f9306a441955f;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/openbox/translate.c b/openbox/translate.c index 9ae4f431..11a88f66 100644 --- a/openbox/translate.c +++ b/openbox/translate.c @@ -39,7 +39,7 @@ static guint translate_modifier(char *str) return 0; } -gboolean translate_button(char *str, guint *state, guint *button) +gboolean translate_button(const gchar *str, guint *state, guint *button) { char **parsed; char *l; @@ -82,7 +82,7 @@ translation_fail: return ret; } -gboolean translate_key(char *str, guint *state, guint *keycode) +gboolean translate_key(const gchar *str, guint *state, guint *keycode) { char **parsed; char *l;