[gtk+] Oops, make the MS Windows theme really compile.
- From: Fridrich Strba <strba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Oops, make the MS Windows theme really compile.
- Date: Thu, 2 Sep 2010 13:39:27 +0000 (UTC)
commit 03b6a9b6a09ffbe6c1e0bf2fb80b5cd4ebd5ac84
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date: Thu Sep 2 15:33:10 2010 +0200
Oops, make the MS Windows theme really compile.
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 a1ed6b0..d23dfea 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]