diff options
Diffstat (limited to 'gtk/a11y/gtktreeviewaccessible.c')
-rw-r--r-- | gtk/a11y/gtktreeviewaccessible.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/a11y/gtktreeviewaccessible.c b/gtk/a11y/gtktreeviewaccessible.c index 05629a06e3..56e231b8b9 100644 --- a/gtk/a11y/gtktreeviewaccessible.c +++ b/gtk/a11y/gtktreeviewaccessible.c @@ -1096,11 +1096,11 @@ gtk_tree_view_accessible_get_cell_extents (GtkCellAccessibleParent *parent, if (coord_type != ATK_XY_WINDOW) { - GdkWindow *window; + GdkSurface *window; gint x_toplevel, y_toplevel; - window = gdk_window_get_toplevel (gtk_widget_get_window (widget)); - gdk_window_get_origin (window, &x_toplevel, &y_toplevel); + window = gdk_surface_get_toplevel (gtk_widget_get_window (widget)); + gdk_surface_get_origin (window, &x_toplevel, &y_toplevel); w_x += x_toplevel; w_y += y_toplevel; |