Avoid call cycles when terminating an application.

Better NIB loading and object awakening.
Remove compiler warning caused by previous change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25614 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2007-11-27 00:09:24 +00:00
parent 022240303e
commit 82dc075f6c
4 changed files with 337 additions and 304 deletions

View file

@ -32,6 +32,7 @@
#include <Foundation/NSProcessInfo.h>
#include "AppKit/NSApplication.h"
#include "AppKit/NSBitmapImageRep.h"
#include "AppKit/NSEvent.h"
#include "AppKit/NSGraphicsContext.h"
#include "AppKit/NSGraphics.h"
@ -313,7 +314,7 @@ void NSDrawBitmap(NSRect rect,
NSGraphicsContext *ctxt = GSCurrentContext();
bitmap = [[NSBitmapImageRep alloc]
initWithBitmapDataPlanes: data
initWithBitmapDataPlanes: (unsigned char **)data
pixelsWide: pixelsWide
pixelsHigh: pixelsHigh
bitsPerSample: bitsPerSample