From 60bb5229f0fb16cee27077552fbc35d53c94f031 Mon Sep 17 00:00:00 2001 From: Erik Andren Date: Sat, 25 Oct 2008 20:34:27 +0200 Subject: Header cleanup (bug#4703) Remove prototypes for nonexistent functions from Xft.h, and add missing include in xftglyphs.c Signed-off-by: Julien Cristau --- include/X11/Xft/Xft.h | 12 ------------ src/xftglyphs.c | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/include/X11/Xft/Xft.h b/include/X11/Xft/Xft.h index 18b063b..569807c 100644 --- a/include/X11/Xft/Xft.h +++ b/include/X11/Xft/Xft.h @@ -127,16 +127,6 @@ XftColorFree (Display *dpy, Colormap cmap, XftColor *color); - -/* xftcore.c */ - -/* xftdir.c */ -FcBool -XftDirScan (FcFontSet *set, _Xconst char *dir, FcBool force); - -FcBool -XftDirSave (FcFontSet *set, _Xconst char *dir); - /* xftdpy.c */ Bool XftDefaultHasRender (Display *dpy); @@ -619,8 +609,6 @@ XftTextRenderUtf16 (Display *dpy, FcEndian endian, int len); -/* xftstr.c */ - /* xftxlfd.c */ FcPattern * XftXlfdParse (_Xconst char *xlfd_orig, Bool ignore_scalable, Bool complete); diff --git a/src/xftglyphs.c b/src/xftglyphs.c index fc11da4..1d34f49 100644 --- a/src/xftglyphs.c +++ b/src/xftglyphs.c @@ -23,6 +23,10 @@ #include "xftint.h" #include +#if HAVE_FT_GLYPHSLOT_EMBOLDEN +#include +#endif + static const int filters[3][3] = { /* red */ #if 0 -- cgit v1.2.3