]> Dogcows Code - chaz/openbox/blobdiff - obt/keyboard.c
make the obt library branch compile again with all the changes merged in from backport
[chaz/openbox] / obt / keyboard.c
index 397504fb6b4af493af2425012804b407f19715c2..a93c07d080d5a37f9f5d48d0a326cb47b9c4efca 100644 (file)
@@ -197,7 +197,7 @@ KeyCode obt_keyboard_keysym_to_keycode(KeySym sym)
     return 0;
 }
 
-const gchar *obt_keyboard_keycode_to_string(guint keycode)
+gchar *obt_keyboard_keycode_to_string(guint keycode)
 {
     KeySym sym;
     const gchar *ret = NULL;
@@ -211,7 +211,7 @@ gunichar obt_keyboard_keycode_to_unichar(guint keycode)
 {
     gunichar unikey = 0;
 
-    const char *key;
+    char *key;
     if ((key = obt_keyboard_keycode_to_string(keycode)) != NULL &&
         /* don't accept keys that aren't a single letter, like "space" */
         key[1] == '\0')
This page took 0.023107 seconds and 4 git commands to generate.