From 456ebcea28c2598882069d97381ff7e223fc4a99 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Dec 2004 13:56:10 +0000 Subject: Remove all entries for the same key, not just the first one. (#159498, 2004-12-08 Matthias Clasen * gtk/gtkaccelmap.c (internal_change_entry): Remove all entries for the same key, not just the first one. (#159498, Christian Persch) --- gtk/gtkaccelmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkaccelmap.c') 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: -- cgit v1.2.1