See the ChangeLog for the full description.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ludovic Marcotte 2003-06-27 00:45:24 +00:00
parent 90f9f8ea6b
commit 6a1f74c661
3 changed files with 7 additions and 1 deletions

View file

@ -716,7 +716,7 @@ static NSImage *unexpandable = nil;
- (void) setDataSource: (id)anObject
{
#define CHECK_REQUIRED_METHOD(selector_name) \
if (![anObject respondsToSelector: @selector(selector_name)]) \
if (anObject && ![anObject respondsToSelector: @selector(selector_name)]) \
[NSException raise: NSInternalInconsistencyException \
format: @"data source does not respond to %@", @#selector_name]