]> Pileus Git - ~andy/gtk/commitdiff
Oops, make the MS Windows theme really compile.
authorFridrich Štrba <fridrich.strba@bluewin.ch>
Thu, 2 Sep 2010 13:33:10 +0000 (15:33 +0200)
committerFridrich Štrba <fridrich.strba@bluewin.ch>
Thu, 2 Sep 2010 13:39:19 +0000 (15:39 +0200)
modules/engines/ms-windows/xp_theme.c

index a1ed6b0b11b84ece09ebb606c831a411af518ace..d23dfea2d84ec4ae96c5a2096dacb6796192ca04 100755 (executable)
@@ -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;