diff --git a/ChangeLog b/ChangeLog index 430fad76c..876f398f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-26 Neil Roberts + + * clutter/win32/clutter-event-win32.c (clutter_event_check): + Removed the pointless parameter in the call to check_msg_pending. + (check_msg_pending): Fixed to use PeekMessageW instead of + PeekMessage. + 2008-03-25 Neil Roberts Added a native Win32 WGL backend. diff --git a/clutter/win32/clutter-event-win32.c b/clutter/win32/clutter-event-win32.c index 0f7f496fc..e85b0eb7a 100644 --- a/clutter/win32/clutter-event-win32.c +++ b/clutter/win32/clutter-event-win32.c @@ -177,7 +177,7 @@ check_msg_pending () { MSG msg; - return PeekMessage (&msg, NULL, 0, 0, PM_NOREMOVE) ? TRUE : FALSE; + return PeekMessageW (&msg, NULL, 0, 0, PM_NOREMOVE) ? TRUE : FALSE; } static ClutterModifierType @@ -232,13 +232,12 @@ static gboolean clutter_event_check (GSource *source) { ClutterEventSource *event_source = (ClutterEventSource *) source; - ClutterBackend *backend = event_source->backend; gboolean retval; clutter_threads_enter (); if ((event_source->event_poll_fd.revents & G_IO_IN)) - retval = (clutter_events_pending () || check_msg_pending (backend)); + retval = (clutter_events_pending () || check_msg_pending ()); else retval = FALSE;