Commit c8061385 authored by Cody Russell's avatar Cody Russell Committed by Cody Russell
Browse files

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
parent 7e39f928
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.
2008-07-23 Matthias Clasen <mclasen@redhat.com>
Bug 543915 – "Sole completion" translation issue
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment