Commit 9b1ce99c authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent 23558e0a
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment