From 8a383b457e234ec810ea38d76e619f34c19bed22 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 7 Jan 2019 16:17:39 +1100 Subject: Backport: Stop variable shadowing. This makes the code easier to understand and improves performance very slightly. Backport of changeset 7196:094210c79fd4. --- gtk/ScintillaGTKAccessible.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') 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. -- cgit v1.2.3