mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:40:38 +00:00
Restore -allocWithZone: method
This commit is contained in:
parent
9451330883
commit
78b330ff70
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2018-01-24 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Printing/GSCUPS/GSCUPSPrintOperation.m:
|
||||
Restore -allocWithZone: methods as this is needed to override
|
||||
behaviour in superclass.
|
||||
|
||||
2018-01-23 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSApplication.m (-targetForAction:to:from:): Warn about
|
||||
|
|
|
@ -48,6 +48,13 @@
|
|||
//A subclass of GSPrintOperation, NOT NSPrintOperation.
|
||||
@implementation GSCUPSPrintOperation
|
||||
|
||||
|
||||
// Required because the super class redefines the default
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
return NSAllocateObject (self, 0, z);
|
||||
}
|
||||
|
||||
- (id)initWithView:(NSView *)aView
|
||||
printInfo:(NSPrintInfo *)aPrintInfo
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue