summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-26 15:52:20 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-26 15:52:20 +0000
commit9b1ce99cb4a37a196c680230929e777fb912e83c (patch)
tree0ed8edd3630f26dee9c699238042cd005e5af498
parent23558e0a3b2295d7db89dd5d4e67d857fc76d1c0 (diff)
downloadgdk-pixbuf-9b1ce99cb4a37a196c680230929e777fb912e83c.tar.gz
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)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtkkeyhash.c5
8 files changed, 46 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5eb402265..1366802f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 5eb402265..1366802f1 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 5eb402265..1366802f1 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 5eb402265..1366802f1 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 5eb402265..1366802f1 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 5eb402265..1366802f1 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 5eb402265..1366802f1 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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
diff --git a/gtk/gtkkeyhash.c b/gtk/gtkkeyhash.c
index b904c4498..a70280df5 100644
--- a/gtk/gtkkeyhash.c
+++ b/gtk/gtkkeyhash.c
@@ -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,