summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-12-08 13:56:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-12-08 13:56:10 +0000
commit456ebcea28c2598882069d97381ff7e223fc4a99 (patch)
tree89b03264be4672a15ea1e8b777be3fe2352e45b8 /gtk/gtkaccelmap.c
parent82cb8cd95a97ee5d2012ee699fb2fbcc41293e65 (diff)
downloadgtk+-456ebcea28c2598882069d97381ff7e223fc4a99.tar.gz
Remove all entries for the same key, not just the first one. (#159498,
2004-12-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c (internal_change_entry): Remove all entries for the same key, not just the first one. (#159498, Christian Persch)
Diffstat (limited to 'gtk/gtkaccelmap.c')
-rw-r--r--gtk/gtkaccelmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c
index 46d9997cb7..647aa70d45 100644
--- a/gtk/gtkaccelmap.c
+++ b/gtk/gtkaccelmap.c
@@ -365,7 +365,7 @@ internal_change_entry (const gchar *accel_path,
if (!removable)
goto break_loop_step5;
if (ag_entry[i].accel_path_quark)
- replace_list = g_slist_prepend (replace_list, GUINT_TO_POINTER (ag_entry->accel_path_quark));
+ replace_list = g_slist_prepend (replace_list, GUINT_TO_POINTER (ag_entry[i].accel_path_quark));
}
}
break_loop_step5: