From 3aa62c6e054c3e44f840fa20dfa5f9a7ec00d361 Mon Sep 17 00:00:00 2001 From: rfm Date: Thu, 20 Mar 2008 10:00:11 +0000 Subject: [PATCH] Fix for bug #22676 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26365 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Source/win32/GSRunLoopCtxt.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d24210a8b..a81363154 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-20 Richard Frith-Macdonald + + * Source/win32/GSRunLoopCtxt.m: Fix bad function call (bug #22676) + 2008-03-19 Richard Frith-Macdonald * Source/NSAutoreleasePool.m: Use get_imp() to fetch the diff --git a/Source/win32/GSRunLoopCtxt.m b/Source/win32/GSRunLoopCtxt.m index b4f579639..9955d1320 100644 --- a/Source/win32/GSRunLoopCtxt.m +++ b/Source/win32/GSRunLoopCtxt.m @@ -275,7 +275,7 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks = - (BOOL) pollUntil: (int)milliseconds within: (NSArray*)contexts { - GSRunLoopThreadInfo *threadInfo = GSRunLoopForThread(nil, YES); + GSRunLoopThreadInfo *threadInfo = GSRunLoopInfoForThread(nil); NSMapEnumerator hEnum; GSRunLoopWatcher *watcher; HANDLE handleArray[MAXIMUM_WAIT_OBJECTS-1];