From 33f034d0d7fe91533aeb506b02f4ab2b3558ba28 Mon Sep 17 00:00:00 2001 From: Matthias Clasen <mclasen@redhat.com> Date: Wed, 24 Apr 2019 20:54:05 -0400 Subject: [PATCH] a11y: Stop using gtk_widget_get_parent_surface We can just use the surface of the parent. --- gtk/a11y/gtkwidgetaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {