Commit ed0cb250 authored by Behdad Esfahbod's avatar Behdad Esfahbod

Minor

parent c8cf0401
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment