summaryrefslogtreecommitdiffstats
path: root/src/kernel/qt_x11_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qt_x11_p.h')
-rw-r--r--src/kernel/qt_x11_p.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/kernel/qt_x11_p.h b/src/kernel/qt_x11_p.h
index a94300a24..8c1f043a5 100644
--- a/src/kernel/qt_x11_p.h
+++ b/src/kernel/qt_x11_p.h
@@ -157,17 +157,6 @@ extern "C" {
# else
# include <X11/Xft/Xft.h>
# endif // QT_USE_XFT2_HEADER
-# if defined(XFT_VERSION) && XFT_VERSION >= 20000
-# define QT_XFT2
-# else
-# include <X11/Xft/XftFreetype.h>
-// Xft1 doesn't have these functions, so we implement them in qtaddons_x11.cpp
-extern "C" {
- TQt::HANDLE XftDrawPicture( XftDraw * );
- void XftDrawSetClipRectangles(XftDraw *, int, int, XRectangle *, int);
- void XftDrawSetSubwindowMode(XftDraw *, int);
-}
-# endif // XFT_VERSION
# endif // TQT_NO_XFTFREETYPE
#else
// make sure TQT_NO_XFTFREETYPE is defined if TQT_NO_XRENDER is defined