mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* Source/NSUndoManager.m
Assert sig is not null in registerUndoWithTarget:selector:object: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37917 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
43f07926da
commit
6542364459
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-05-28 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
* Source/NSUndoManager.m
|
||||
Assert sig is not null in registerUndoWithTarget:selector:object:
|
||||
|
||||
2014-05-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSInvocation.h:
|
||||
|
|
|
@ -745,6 +745,9 @@
|
|||
}
|
||||
g = _group;
|
||||
sig = [target methodSignatureForSelector: aSelector];
|
||||
NSAssert2(sig,@"No methodSignatureForSelector:%@ for target of class %@",
|
||||
NSStringFromSelector(aSelector),
|
||||
[target class]);
|
||||
inv = [NSInvocation invocationWithMethodSignature: sig];
|
||||
[inv retainArgumentsIncludingTarget: NO];
|
||||
[inv setTarget: target];
|
||||
|
|
Loading…
Reference in a new issue