[cairo-commit] rcairo/packages/cairo/ext rb_cairo_constants.c, 1.12, 1.13

Kouhei Sutou commit at pdx.freedesktop.org
Mon Jul 10 17:29:08 PDT 2006


Committed by: kou

Update of /cvs/cairo/rcairo/packages/cairo/ext
In directory kemper:/tmp/cvs-serv21802/packages/cairo/ext

Modified Files:
	rb_cairo_constants.c 
Log Message:
* packages/cairo/ext/rb_cairo_constants.c: added a check whether
  SVG surface is available or not.


Index: rb_cairo_constants.c
===================================================================
RCS file: /cvs/cairo/rcairo/packages/cairo/ext/rb_cairo_constants.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- rb_cairo_constants.c	1 Jul 2006 14:45:55 -0000	1.12
+++ rb_cairo_constants.c	11 Jul 2006 00:29:07 -0000	1.13
@@ -97,8 +97,9 @@
 DEFINE_RVAL2ENUM(format, FORMAT)
 DEFINE_RVAL2ENUM(extend, EXTEND)
 DEFINE_RVAL2ENUM(filter, FILTER)
+#if CAIRO_HAS_SVG_SURFACE
 DEFINE_RVAL2ENUM(svg_version, SVG_VERSION)
-
+#endif
 
 void
 Init_cairo_constants (void)



More information about the cairo-commit mailing list