diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-02 15:33:10 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-02 15:39:19 +0200 |
commit | 03b6a9b6a09ffbe6c1e0bf2fb80b5cd4ebd5ac84 (patch) | |
tree | 3779c0de222a6572d86e53a8301eae8d9080f778 /modules/engines | |
parent | 18b47b6cd03f0f6da777ad3a5e2795cbf458b804 (diff) | |
download | gtk+-03b6a9b6a09ffbe6c1e0bf2fb80b5cd4ebd5ac84.tar.gz |
Oops, make the MS Windows theme really compile.
Diffstat (limited to 'modules/engines')
-rwxr-xr-x | modules/engines/ms-windows/xp_theme.c | 5 |
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; |