Handle a keyval of 0, by returning an empty list. (#72617, Kevin Breit)

Tue Feb 26 10:38:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
        a keyval of 0, by returning an empty list. (#72617,
        Kevin Breit)
This commit is contained in:
Owen Taylor 2002-02-26 15:52:20 +00:00 committed by Owen Taylor
parent 23558e0a3b
commit 9b1ce99cb4
8 changed files with 46 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -1,3 +1,9 @@
Tue Feb 26 10:38:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
a keyval of 0, by returning an empty list. (#72617,
Kevin Breit)
2002-02-26 Richard Hult <rhult@codefactory.se>
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix

View File

@ -352,7 +352,10 @@ _gtk_key_hash_lookup_keyval (GtkKeyHash *key_hash,
GdkKeymapKey *keys;
gint n_keys;
GSList *results = NULL;
if (!keyval) /* Key without symbol */
return NULL;
/* Find some random keycode for this keycode
*/
gdk_keymap_get_entries_for_keyval (key_hash->keymap, keyval,