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:
fredkiefer 2009-05-31 15:48:49 +00:00
parent 2c265dbf17
commit bdca2254cc
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> 2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSDisplayServer.m (+initialize, * Source/GSDisplayServer.m (+initialize,

View file

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