summaryrefslogtreecommitdiff
path: root/Xprint/ps
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-03-25 23:11:14 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-03-25 23:11:14 +0000
commit0d33b588376a4d86d50ed8b7e06eaf0dbd8c5ba5 (patch)
tree39f450d90a91e326e0cbc4e7953be354e513a4fa /Xprint/ps
parent5f320335c3a8148ae98f82a00ff44954197f4251 (diff)
xc/programs/Xserver/Xprint/ps/Imakefile
//bugs.freedesktop.org/show_bug.cgi?id=2821) attachment #xxx (https://bugs.freedesktop.org/attachment.cgi?id=xxx) Remove the cfb dependicy from the PostScript DDX as this is not needed in a vector DDX (mfb is still needed to fill the |BitmapToRegion()| callback with |mfbPixmapToRegion()|).
Diffstat (limited to 'Xprint/ps')
-rw-r--r--Xprint/ps/PsInit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Xprint/ps/PsInit.c b/Xprint/ps/PsInit.c
index 5097b7027..a5f7a8a25 100644
--- a/Xprint/ps/PsInit.c
+++ b/Xprint/ps/PsInit.c
@@ -85,7 +85,7 @@ in this Software without prior written authorization from The Open Group.
#include "mi.h"
#include "micmap.h"
#include "AttrValid.h"
-#include "../../mfb/mfb.h"
+#include "mfb.h"
#include "windowstr.h"
#include "DiPrint.h"
@@ -94,8 +94,6 @@ static void AllocatePsPrivates(ScreenPtr pScreen);
static int PsInitContext(XpContextPtr pCon);
static int PsDestroyContext(XpContextPtr pCon);
-extern Bool cfbCreateDefColormap(ScreenPtr pScreen);
-
int PsScreenPrivateIndex;
int PsContextPrivateIndex;
int PsPixmapPrivateIndex;
@@ -386,7 +384,7 @@ InitializePsDriver(ndx, pScreen, argc, argv)
0, rootDepth, nd,
depths, defaultVisual, nv, visuals);
- if( cfbCreateDefColormap(pScreen)==FALSE ) return FALSE;
+ if( miCreateDefColormap(pScreen)==FALSE ) return FALSE;
/*scalingScreenInit(pScreen);*/