forked from AuroraMiddleware/gtk
a11y: Stop using gtk_widget_get_parent_surface
We can just use the surface of the parent.
This commit is contained in:
parent
2516f1142d
commit
33f034d0d7
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user