[gtk+/gtk-2-24-quartz] win32: fix invalid cast



commit 8ab3ebebf3c3b6c10a4d8da7216dad9d1b7edff7
Author: Martin Renold <martinxyz gmx ch>
Date:   Thu Jun 16 22:24:05 2011 +0200

    win32: fix invalid cast

 gdk/win32/gdkinput-win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkinput-win32.c b/gdk/win32/gdkinput-win32.c
index 5dec13c..19fb928 100644
--- a/gdk/win32/gdkinput-win32.c
+++ b/gdk/win32/gdkinput-win32.c
@@ -679,7 +679,7 @@ gdk_input_translate_coordinates (GdkDevicePrivate *gdkdev,
   double device_width, device_height;
   double x_offset, y_offset, x_scale, y_scale;
 
-  window_object = GDK_WINDOW_OBJECT (input_window);
+  window_object = GDK_WINDOW_OBJECT (input_window->window);
 
   for (i=0; i<gdkdev->info.num_axes; i++)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]