[cairo-commit] util/cairo-script

M. Joonas Pihlaja joonas at kemper.freedesktop.org
Thu Nov 13 08:08:41 PST 2008


 util/cairo-script/cairo-script-interpreter.h |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 3b11997a23baa9e38e87b584ee29f4888a5d92f7
Author: M Joonas Pihlaja <jpihlaja at cc.helsinki.fi>
Date:   Thu Nov 13 18:01:47 2008 +0200

    [cairo-script] Remove outdated #error to allow compilation to succeed.
    
    The interpreter doesn't depend on the script surface anymore.

diff --git a/util/cairo-script/cairo-script-interpreter.h b/util/cairo-script/cairo-script-interpreter.h
index 21a3a15..d619388 100644
--- a/util/cairo-script/cairo-script-interpreter.h
+++ b/util/cairo-script/cairo-script-interpreter.h
@@ -38,8 +38,6 @@
 
 #include <cairo.h>
 
-#if CAIRO_HAS_SCRIPT_SURFACE
-
 CAIRO_BEGIN_DECLS
 
 typedef struct _cairo_script_interpreter cairo_script_interpreter_t;
@@ -97,8 +95,4 @@ cairo_script_interpreter_destroy (cairo_script_interpreter_t *ctx);
 
 CAIRO_END_DECLS
 
-#else  /*CAIRO_HAS_SCRIPT_SURFACE*/
-# error Cairo was not compiled with support for the CairoScript backend
-#endif /*CAIRO_HAS_SCRIPT_SURFACE*/
-
 #endif /*CAIRO_SCRIPT_INTERPRETER_H*/


More information about the cairo-commit mailing list