summaryrefslogtreecommitdiff
path: root/modules/engines
diff options
context:
space:
mode:
Diffstat (limited to 'modules/engines')
-rwxr-xr-xmodules/engines/ms-windows/xp_theme.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/engines/ms-windows/xp_theme.c b/modules/engines/ms-windows/xp_theme.c
index a1ed6b0b11..d23dfea2d8 100755
--- a/modules/engines/ms-windows/xp_theme.c
+++ b/modules/engines/ms-windows/xp_theme.c
@@ -928,12 +928,11 @@ get_window_dc (GtkStyle *style,
cairo_t *cr;
cairo_surface_t *crs;
gint x_offset, y_offset;
- GdkWindowObject *private = (GdkWindowObject *)GDK_DRAWABLE(window);
cr = gdk_cairo_create (window);
crs = cairo_get_target (cr);
- x_offset = -private->abs_x;
- y_offset = -private->abs_y;
+ x_offset = 0;
+ y_offset = 0;
dc_info_out->data = NULL;