From fe672a64e74a78e689cbef02c76e8f79ca2497cf Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Tue, 11 May 1999 21:36:39 +0000 Subject: [PATCH] comment out printing under Carbon. api's have been obsoleted and need to be redone. --- gfx/src/mac/nsDeviceContextSpecMac.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/src/mac/nsDeviceContextSpecMac.cpp b/gfx/src/mac/nsDeviceContextSpecMac.cpp index 621ac77a1f7..2e2a6849fe1 100644 --- a/gfx/src/mac/nsDeviceContextSpecMac.cpp +++ b/gfx/src/mac/nsDeviceContextSpecMac.cpp @@ -63,6 +63,7 @@ nsresult theResult = NS_ERROR_FAILURE; THPrint prtRec; GrafPtr oldport; +#if !TARGET_CARBON ::GetPort(&oldport); // open the printing manager @@ -85,6 +86,7 @@ GrafPtr oldport; } } } +#endif return theResult; } @@ -98,7 +100,9 @@ PRBool isPMOpen; this->PrintManagerOpen(&isPMOpen); if(isPMOpen){ +#if !TARGET_CARBON ::PrClose(); +#endif } return NS_OK;