Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-07-06 08:43:07 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-07-06 08:43:07 (GMT)
commit74dab93c159a81270cf70da84b03ae5ead191739 (patch)
tree701444d097a0468a51612cf83b698ccc49906751 /libview
parentca22044f7609f44e342166d2686e69f8fb261640 (diff)
[libview] Fix build with GSEAL enabled
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view-accessible.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c
index af5a84b..9dfab20 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;
}