From ea481338b5f16fd81a7b33e036ead39b918a51af Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 Jan 2008 01:34:58 -0500 Subject: make the obt library branch compile again with all the changes merged in from backport --- obt/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'obt/keyboard.c') 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') -- cgit v1.2.3