[caribou: 10/22] libcaribou: Removed arbitrary keycode initial value.
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou: 10/22] libcaribou: Removed arbitrary keycode initial value.
- Date: Mon, 2 May 2011 17:26:58 +0000 (UTC)
commit 9fcdd18baee1a297c138c1726351da59b30546f1
Author: Eitan Isaacson <eitan monotonous org>
Date: Sun Apr 24 12:18:24 2011 -0700
libcaribou: Removed arbitrary keycode initial value.
libcaribou/caribou-virtual-keyboard.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcaribou/caribou-virtual-keyboard.c b/libcaribou/caribou-virtual-keyboard.c
index 5b6d28c..565f1eb 100644
--- a/libcaribou/caribou-virtual-keyboard.c
+++ b/libcaribou/caribou-virtual-keyboard.c
@@ -235,7 +235,7 @@ keycode_for_keyval (CaribouVirtualKeyboard *self,
GdkKeymap *km = gdk_keymap_get_default ();
GdkKeymapKey *kmk;
gint len;
- KeyCode keycode = 38; // Initializing to something legal
+ KeyCode keycode = 0;
g_return_val_if_fail (modmask != NULL, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]