]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Fix build with GSEAL enabled
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 6 Jul 2010 08:43:07 +0000 (10:43 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 6 Jul 2010 08:43:07 +0000 (10:43 +0200)
libview/ev-view-accessible.c

index af5a84b9bfd3ad5ef3b6a2d6b2c14f686b8f8b82..9dfab200c26d3c2d40475919a36a3161e90e6594 100644 (file)
@@ -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;
   }