[caribou/geometry] libcaribou: Removed arbitrary keycode initial value.



commit 696c0527742501c2ca9c84a3e4c4a394a60a27de
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]