diff options
author | Cody Russell <bratsche@gnome.org> | 2008-07-24 12:55:53 +0000 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 2008-07-24 12:55:53 +0000 |
commit | c8061385a94d869bee968b4137514e394fde3504 (patch) | |
tree | b83738257a509985852edc26f45fa5f21a10416c /gdk | |
parent | 7e39f9285a1ef27606412b42b26fa79c4368050f (diff) | |
download | gtk+-c8061385a94d869bee968b4137514e394fde3504.tar.gz |
Bug 544510 – SetTimer callback signatures has the wrong type
2008-07-24 Cody Russell <bratsche@gnome.org>
Bug 544510 – SetTimer callback signatures has the wrong type
* gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
sync_timer_proc() to use UINT_PTR for the 'id' parameter
instead of 'id'. Patch by Richard Hult.
svn path=/trunk/; revision=20903
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 6e35654691..d98f1662ee 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -2033,7 +2033,7 @@ handle_stuff_while_moving_or_resizing (void) static VOID CALLBACK modal_timer_proc (HWND hwnd, UINT msg, - UINT id, + UINT_PTR id, DWORD time) { if (_sizemove_in_progress) @@ -2041,10 +2041,10 @@ modal_timer_proc (HWND hwnd, } static VOID CALLBACK -sync_timer_proc (HWND hwnd, - UINT msg, - UINT id, - DWORD time) +sync_timer_proc (HWND hwnd, + UINT msg, + UINT_PTR id, + DWORD time) { MSG message; if (PeekMessageW (&message, hwnd, WM_PAINT, WM_PAINT, PM_REMOVE)) |