mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
0b4333cd31
commit
08b0ac8219
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user