[evince] [libview] Fix build with GSEAL enabled
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [libview] Fix build with GSEAL enabled
- Date: Thu, 8 Jul 2010 08:23:13 +0000 (UTC)
commit 74dab93c159a81270cf70da84b03ae5ead191739
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Tue Jul 6 10:43:07 2010 +0200
[libview] Fix build with GSEAL enabled
libview/ev-view-accessible.c | 4 ++--
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]