win32: Use GCLP_* instead of GCL_* when calling GetClassLongPtr
authorFridrich Strba <fridrich.strba@bluewin.ch>
Fri, 9 Apr 2010 14:43:42 +0000 (15:43 +0100)
committerNeil Roberts <neil@linux.intel.com>
Fri, 9 Apr 2010 14:43:42 +0000 (15:43 +0100)
(commit message by Neil)

GetClassLongPtr expects a different constant when retrieving handles
or pointers. This fixes problems using Win64.

clutter/win32/clutter-stage-win32.c

index 37b5d03..7873af6 100644 (file)
@@ -222,7 +222,7 @@ _clutter_stage_win32_update_cursor (ClutterStageWin32 *stage_win32)
   HCURSOR cursor;
 
   if (stage_win32->is_cursor_visible)
-    cursor = (HCURSOR) GetClassLongPtrW (stage_win32->hwnd, GCL_HCURSOR);
+    cursor = (HCURSOR) GetClassLongPtrW (stage_win32->hwnd, GCLP_HCURSOR);
   else
     {
       ClutterBackend *backend = clutter_get_default_backend ();