diff options
Diffstat (limited to 'pango-view')
-rw-r--r-- | pango-view/viewer-cairo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pango-view/viewer-cairo.c b/pango-view/viewer-cairo.c index ae8e01d2..707a8c8b 100644 --- a/pango-view/viewer-cairo.c +++ b/pango-view/viewer-cairo.c @@ -30,7 +30,7 @@ #ifdef HAVE_CAIRO_XLIB -#ifdef HAVE_X +#ifdef HAVE_XFT #include "viewer-x.h" #include <cairo-xlib.h> @@ -73,7 +73,7 @@ static CairoViewerIface cairo_x_viewer_iface = { cairo_x_view_iface_create_surface, cairo_x_view_iface_paint_background }; -#endif /* HAVE_X */ +#endif /* HAVE_XFT */ #endif /* HAVE_CAIRO_XLIB */ @@ -350,13 +350,13 @@ cairo_viewer_iface_create (const CairoViewerIface **iface) return ret; #ifdef HAVE_CAIRO_XLIB -#ifdef HAVE_X +#ifdef HAVE_XFT if (opt_display) { *iface = &cairo_x_viewer_iface; return (*iface)->backend_class->create ((*iface)->backend_class); } -#endif /* HAVE_X */ +#endif /* HAVE_XFT */ #endif /* HAVE_CAIRO_XLIB */ *iface = &cairo_image_viewer_iface; |