aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-01-07 16:17:39 +1100
committerNeil <nyamatongwe@gmail.com>2019-01-07 16:17:39 +1100
commit84c2d9d83b4b9ff286427ebb04c5cf678170357e (patch)
treebbbd91fc9a9fb070e322c081119e012b5e4d1b6c
parent5476eada003a1fbc182676c625b767efb2c16e6f (diff)
downloadscintilla-mirror-84c2d9d83b4b9ff286427ebb04c5cf678170357e.tar.gz
Stop variable shadowing. This makes the code easier to understand and improves
performance very slightly.
-rw-r--r--gtk/ScintillaGTKAccessible.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTKAccessible.cxx b/gtk/ScintillaGTKAccessible.cxx
index 71e08034b..44069e274 100644
--- a/gtk/ScintillaGTKAccessible.cxx
+++ b/gtk/ScintillaGTKAccessible.cxx
@@ -1129,7 +1129,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.