a11y: Stop using gtk_widget_get_parent_surface

We can just use the surface of the parent.
This commit is contained in:
Matthias Clasen 2019-04-24 20:54:05 -04:00
parent 2516f1142d
commit 33f034d0d7

View File

@ -557,7 +557,7 @@ gtk_widget_accessible_get_extents (AtkComponent *component,
{
*x = allocation.x;
*y = allocation.y;
surface = gtk_widget_get_parent_surface (widget);
surface = gtk_widget_get_surface (gtk_widget_get_parent (widget));
}
else
{