[cairo-commit] src/cairo-xlib-screen.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Jan 29 03:32:26 PST 2010


 src/cairo-xlib-screen.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 05d4f9b461749f129b17cc97d6e3e6b49fe8e8d9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 29 11:30:49 2010 +0000

    xlib: Compile fix for no fontconfig

diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c
index 699b7d5..18f974b 100644
--- a/src/cairo-xlib-screen.c
+++ b/src/cairo-xlib-screen.c
@@ -60,7 +60,9 @@
 #include "cairo-xlib-surface-private.h"
 #include "cairo-error-private.h"
 
+#if CAIRO_HAS_FC_FONT
 #include <fontconfig/fontconfig.h>
+#endif
 
 static int
 parse_boolean (const char *v)
@@ -142,7 +144,6 @@ get_integer_default (Display    *dpy,
 #define FC_HINT_FULL        3
 #endif
 
-
 static void
 _cairo_xlib_init_screen_font_options (Display *dpy,
 				      cairo_xlib_screen_t *info)


More information about the cairo-commit mailing list