mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
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:
parent
4aa1fb4c5e
commit
a8ecb0c14a
2 changed files with 12 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue