diff --git a/gtk/a11y/gtkwidgetaccessible.c b/gtk/a11y/gtkwidgetaccessible.c index d2c2471be9..c79b23f574 100644 --- a/gtk/a11y/gtkwidgetaccessible.c +++ b/gtk/a11y/gtkwidgetaccessible.c @@ -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 {