* Printing/GSCUPS/GSCUPSPrinter.m,

* Printing/GSCUPS/GSCUPSPrintInfo.m:
Restore -allocWithZone: methods as this is needed to override
behaviour in superclass.
This commit is contained in:
fredkiefer 2018-01-01 23:16:22 +01:00
parent 99b904ede9
commit 4e70f096ce
3 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2018-01-01 Fred Kiefer <FredKiefer@gmx.de>
* Printing/GSCUPS/GSCUPSPrinter.m,
* Printing/GSCUPS/GSCUPSPrintInfo.m:
Restore -allocWithZone: methods as this is needed to override
behaviour in superclass.
2018-01-01 Yavor Doganov <yavor@gnu.org>
* Documentation/make_services.1: Typo fix.

View file

@ -53,6 +53,11 @@
}
}
// Required because the super class redefines the default
+ (id) allocWithZone: (NSZone*)z
{
return NSAllocateObject (self, 0, z);
}
+ (NSPrinter*) defaultPrinter
{

View file

@ -69,6 +69,12 @@ NSString *GSCUPSDummyPrinterName = @"GSCUPSDummyPrinter";
}
}
// Required because the super class redefines the default
+ (id) allocWithZone: (NSZone*)z
{
return NSAllocateObject (self, 0, z);
}
//
// Finding an NSPrinter
//