зеркало из https://github.com/mozilla/pjs.git
comment out printing under Carbon. api's have been obsoleted and need to be redone.
This commit is contained in:
Родитель
1f9b97b2d4
Коммит
fe672a64e7
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче