[cairo-commit] rcairo/src/lib/cairo constants.rb,1.3,1.4

Kouhei Sutou commit at pdx.freedesktop.org
Sun Aug 17 00:21:44 PDT 2008


Committed by: kou

Update of /cvs/cairo/rcairo/src/lib/cairo
In directory kemper:/tmp/cvs-serv30288/src/lib/cairo

Modified Files:
	constants.rb 
Log Message:
* src/, test/: add missing version checks.


Index: constants.rb
===================================================================
RCS file: /cvs/cairo/rcairo/src/lib/cairo/constants.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- constants.rb	13 Aug 2008 12:27:40 -0000	1.3
+++ constants.rb	17 Aug 2008 07:21:42 -0000	1.4
@@ -18,5 +18,5 @@
   define_constants.call(PathDataType, nil, Path)
   define_constants.call(SVGVersion, nil, SVGSurface)
   define_constants.call(SVGVersion, "SVG")
-  define_constants.call(LCDFilter, "LCD_FILTER")
+  define_constants.call(LCDFilter, "LCD_FILTER") if const_defined?(:LCDFilter)
 end



More information about the cairo-commit mailing list