diff options
author | Neil <nyamatongwe@gmail.com> | 2019-01-07 16:17:39 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-01-07 16:17:39 +1100 |
commit | 8a383b457e234ec810ea38d76e619f34c19bed22 (patch) | |
tree | a39f4c5fcf3515ea18babb344b61d8164dccdfb2 | |
parent | 24b2acfddea20bbcdb6c714dcdc96389ab4f54b5 (diff) | |
download | scintilla-mirror-8a383b457e234ec810ea38d76e619f34c19bed22.tar.gz |
Backport: Stop variable shadowing. This makes the code easier to understand and improves
performance very slightly.
Backport of changeset 7196:094210c79fd4.
-rw-r--r-- | gtk/ScintillaGTKAccessible.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTKAccessible.cxx b/gtk/ScintillaGTKAccessible.cxx index ffcba5608..84bf90c45 100644 --- a/gtk/ScintillaGTKAccessible.cxx +++ b/gtk/ScintillaGTKAccessible.cxx @@ -1128,7 +1128,7 @@ AtkObject *ScintillaGTKAccessible::WidgetGetAccessibleImpl(GtkWidget *widget, At if (parent_atk_type == 0) { AtkObject *parent_obj = GTK_WIDGET_CLASS(widget_parent_class)->get_accessible(widget); if (parent_obj) { - GType parent_atk_type = G_OBJECT_TYPE(parent_obj); + parent_atk_type = G_OBJECT_TYPE(parent_obj); // Figure out whether accessibility is enabled by looking at the type of the accessible // object which would be created for the parent type of ScintillaObject. |