]> Dogcows Code - chaz/openbox/blobdiff - openbox/translate.c
const
[chaz/openbox] / openbox / translate.c
index 593571ce8bcf490ddbfd1791bc2efe696f185e67..11a88f662129c8ac12a229b6c5131e5735d0e4c8 100644 (file)
@@ -1,4 +1,4 @@
-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    translate.c for the Openbox window manager
    Copyright (c) 2003        Ben Jansens
@@ -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.022253 seconds and 4 git commands to generate.