mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:00:38 +00:00
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:
parent
022240303e
commit
82dc075f6c
4 changed files with 337 additions and 304 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue