summaryrefslogtreecommitdiff
path: root/obt/keyboard.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-20 01:34:58 -0500
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:56 -0500
commitea481338b5f16fd81a7b33e036ead39b918a51af (patch)
tree93fcb3de5afdec06c6f21d344c4e9f046bf2804d /obt/keyboard.c
parent8439c393d8c1dfb7db5cebd57d2e1e084e60234a (diff)
make the obt library branch compile again with all the changes merged in from backport
Diffstat (limited to 'obt/keyboard.c')
-rw-r--r--obt/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/obt/keyboard.c b/obt/keyboard.c
index 397504fb..a93c07d0 100644
--- a/obt/keyboard.c
+++ b/obt/keyboard.c
@@ -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')