[cairo-commit] pycairo/cairo cairomodule.c,1.8,1.9
Steve Chaplin
commit at pdx.freedesktop.org
Sat Dec 4 01:20:54 PST 2004
Committed by: stevech1097
Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv16918/cairo
Modified Files:
cairomodule.c
Log Message:
SC 04/12/2004
Index: cairomodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairomodule.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairomodule.c 1 Dec 2004 09:29:13 -0000 1.8
+++ cairomodule.c 4 Dec 2004 09:20:51 -0000 1.9
@@ -62,6 +62,9 @@
case CAIRO_STATUS_NO_TARGET_SURFACE:
PyErr_SetString(PyExc_RuntimeError, "no target surface has been set");
return 1;
+ case CAIRO_STATUS_NULL_POINTER:
+ PyErr_SetString(PyExc_RuntimeError, "NULL pointer");
+ return 1;
default:
PyErr_SetString(PyExc_RuntimeError, "other cairo error");
return 1;
More information about the cairo-commit
mailing list