[cairo-commit] pycairo/cairo cairomodule.c,1.38,1.39
Steve Chaplin
commit at pdx.freedesktop.org
Tue May 31 21:21:22 PDT 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv31995/cairo
Modified Files:
cairomodule.c
Log Message:
SC
Index: cairomodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairomodule.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- cairomodule.c 30 May 2005 04:27:01 -0000 1.38
+++ cairomodule.c 1 Jun 2005 04:21:19 -0000 1.39
@@ -238,10 +238,10 @@
#else
PyModule_AddIntConstant(m, "HAS_PS_SURFACE", 0);
#endif
-#if CAIRO_HAS_PNG_SURFACE
- PyModule_AddIntConstant(m, "HAS_PNG_SURFACE", 1);
+#if CAIRO_HAS_PNG_FUNCTIONS
+ PyModule_AddIntConstant(m, "HAS_PNG_FUNCTIONS", 1);
#else
- PyModule_AddIntConstant(m, "HAS_PNG_SURFACE", 0);
+ PyModule_AddIntConstant(m, "HAS_PNG_FUNCTIONS", 0);
#endif
#if CAIRO_HAS_QUARTZ_SURFACE
PyModule_AddIntConstant(m, "HAS_QUARTZ_SURFACE", 1);
More information about the cairo-commit
mailing list