From 0d33b588376a4d86d50ed8b7e06eaf0dbd8c5ba5 Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Fri, 25 Mar 2005 23:11:14 +0000 Subject: [PATCH] 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()|). --- Xprint/ps/PsInit.c | 6 ++---- 1 file 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);*/