diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-13 19:57:42 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-13 19:57:42 +0000 |
commit | 463aab93dd04bb815f13ff8f17019071162a8ac3 (patch) | |
tree | 539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtkaccelmap.c | |
parent | 9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff) | |
download | gtk+-463aab93dd04bb815f13ff8f17019071162a8ac3.tar.gz |
Various cleanups. (#315360, Kjartan Maraas)
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
Diffstat (limited to 'gtk/gtkaccelmap.c')
-rw-r--r-- | gtk/gtkaccelmap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c index 98150ed221..c95fbcfc8e 100644 --- a/gtk/gtkaccelmap.c +++ b/gtk/gtkaccelmap.c @@ -387,8 +387,6 @@ internal_change_entry (const gchar *accel_path, if (change_accel && !simulate) { - guint old_accel_key, old_accel_mods; - /* ref accel groups */ for (slist = group_list; slist; slist = slist->next) g_object_ref (slist->data); @@ -398,8 +396,6 @@ internal_change_entry (const gchar *accel_path, internal_change_entry (g_quark_to_string (GPOINTER_TO_UINT (slist->data)), 0, 0, FALSE, FALSE); /* 9) install new accelerator */ - old_accel_key = entry->accel_key; - old_accel_mods = entry->accel_mods; entry->accel_key = accel_key; entry->accel_mods = accel_mods; entry->changed = TRUE; |