зеркало из https://github.com/mozilla/pjs.git
Bug 367829 - not possible to build w/o MOZ_ENABLE_POSTSCRIPT p=romaxa <romaxa@gmail.com> r=roc, a=stuart
This commit is contained in:
Родитель
9305ba3491
Коммит
cbba688512
|
@ -108,11 +108,16 @@ CPPSRCS = \
|
|||
nsPrintOptionsGTK.cpp \
|
||||
nsImageToPixbuf.cpp \
|
||||
nsAccessibilityHelper.cpp \
|
||||
nsPrintJobFactoryGTK.cpp \
|
||||
nsPrintJobGTK.cpp \
|
||||
nsIdleServiceGTK.cpp \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_ENABLE_POSTSCRIPT
|
||||
CPPSRCS += \
|
||||
nsPrintJobFactoryGTK.cpp \
|
||||
nsPrintJobGTK.cpp \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
# build our subdirs, too
|
||||
ifdef ACCESSIBILITY
|
||||
REQUIRES += accessibility
|
||||
|
|
|
@ -412,7 +412,10 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::GetSurfaceForPrinter(gfxASurface **aSurfac
|
|||
|
||||
DO_PR_DEBUG_LOG(("\"%s\", %f, %f\n", path, width, height));
|
||||
|
||||
nsresult rv = nsPrintJobFactoryGTK::CreatePrintJob(this, mPrintJob);
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
#ifndef MOZ_ENABLE_POSTSCRIPT
|
||||
nsPrintJobFactoryGTK::CreatePrintJob(this, mPrintJob);
|
||||
#endif
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче