diff --git a/ChangeLog b/ChangeLog index 8931a148e..4e348204d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-01-24 Fred Kiefer + + * Printing/GSCUPS/GSCUPSPrintOperation.m: + Restore -allocWithZone: methods as this is needed to override + behaviour in superclass. + 2018-01-23 Fred Kiefer * Source/NSApplication.m (-targetForAction:to:from:): Warn about diff --git a/Printing/GSCUPS/GSCUPSPrintOperation.m b/Printing/GSCUPS/GSCUPSPrintOperation.m index 96c08af16..20fcd67f7 100644 --- a/Printing/GSCUPS/GSCUPSPrintOperation.m +++ b/Printing/GSCUPS/GSCUPSPrintOperation.m @@ -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 {