diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-08-22 09:25:52 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-08-23 10:55:38 -0400 |
commit | ed0cb250eea0fd71cad6397ecd9ef86a387f49c4 (patch) | |
tree | fad8922e80da49baa240379e5cec72cd7b32afe9 /pango-view | |
parent | c8cf0401a655172eedabe3e2a45daf95c619c4e9 (diff) | |
download | pango-ed0cb250eea0fd71cad6397ecd9ef86a387f49c4.tar.gz |
Minor
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; |