Added warning and dummy PSWait method so that apps which use DPS calls can compile cleanly.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25805 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2007-12-30 17:32:40 +00:00
parent 87e0d03c60
commit 16069ba835
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-12-30 12:30-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/PSOperators.h: Added dummy PSWait method.
* Source/GSNibCompatibility.m: Added warning when loading nib that has
nil in some keys.
2007-12-30 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFont.m (-initWithCoder:): Add missing RETAIN.

View file

@ -818,4 +818,9 @@ PSWriteData(const char * buf, unsigned int count)
DPSWriteData(DEFCTXT, buf, count);
}
static inline void
PSWait()
{
// do nothing.
}
#endif

View file

@ -1289,6 +1289,10 @@ static BOOL _isInInterfaceBuilder = NO;
while ((key = [ken nextObject]) != nil && (value = [ven nextObject]) != nil)
{
NSMapInsert(mapTable, key, value);
if(value == nil)
{
NSLog(@"==> WARNING: Value for key %@ is %@",key , value);
}
}
}