From: Carlos Garcia Campos Date: Tue, 6 Jul 2010 08:43:07 +0000 (+0200) Subject: [libview] Fix build with GSEAL enabled X-Git-Tag: EVINCE_2_31_5~27 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=74dab93c159a81270cf70da84b03ae5ead191739;p=evince.git [libview] Fix build with GSEAL enabled --- diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c index af5a84b9..9dfab200 100644 --- a/libview/ev-view-accessible.c +++ b/libview/ev-view-accessible.c @@ -434,7 +434,7 @@ ev_view_accessible_get_character_extents (AtkText *text, if (coords == ATK_XY_SCREEN) { - gdk_window_get_origin (toplevel->window, &x_window, &y_window); + gdk_window_get_origin (gtk_widget_get_window (toplevel), &x_window, &y_window); *x += x_window; *y += y_window; } @@ -497,7 +497,7 @@ ev_view_accessible_get_offset_at_point (AtkText *text, if (coords == ATK_XY_SCREEN) { - gdk_window_get_origin (toplevel->window, &x_window, &y_window); + gdk_window_get_origin (gtk_widget_get_window (toplevel), &x_window, &y_window); rx -= x_window; ry -= y_window; }