#include <glib.h>
-gboolean translate_button(gchar *str, guint *state, guint *keycode);
-gboolean translate_key(gchar *str, guint *state, guint *keycode);
+gboolean translate_button(const gchar *str, guint *state, guint *keycode);
+gboolean translate_key(const gchar *str, guint *state, guint *keycode);
#endif