mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
* 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:
parent
99b904ede9
commit
4e70f096ce
3 changed files with 18 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -53,6 +53,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Required because the super class redefines the default
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
return NSAllocateObject (self, 0, z);
|
||||
}
|
||||
|
||||
+ (NSPrinter*) defaultPrinter
|
||||
{
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue