]> Dogcows Code - chaz/openbox/blobdiff - openbox/translate.c
const
[chaz/openbox] / openbox / translate.c
index 9ae4f43111ecea5cbfb03e123e3f9306a441955f..11a88f662129c8ac12a229b6c5131e5735d0e4c8 100644 (file)
@@ -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;
This page took 0.020753 seconds and 4 git commands to generate.