Replace a call to a now longer existing extension on NSInvocation

with the correct method calls.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-05-31 15:48:49 +00:00
parent 4aa1fb4c5e
commit a8ecb0c14a
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m (detachDrawingThread:toTarget:withObject:):
Replace a call to a now longer existing extension on NSInvocation
with the correct method calls.
2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSDisplayServer.m (+initialize,

View file

@ -736,9 +736,12 @@ static NSSize scaledIconSizeForSize(NSSize imageSize)
{
NSInvocation *inv;
// This uses a GNUstep extension on NSInvocation
inv = [[NSInvocation alloc] initWithTarget: target
selector: selector, argument];
inv = [[NSInvocation alloc]
invocationWithMethodSignature:
[target methodSignatureForSelector: selector]];
[inv setTarget: target];
[inv setSelector: selector];
[inv setArgument: argument atIndex: 2];
[NSThread detachNewThreadSelector: @selector(_invokeWithAutoreleasePool:)
toTarget: self
withObject: inv];