[cairo-commit] pycairo/cairo cairomodule.c,1.26,1.27

Steve Chaplin commit at pdx.freedesktop.org
Thu May 5 21:01:44 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv12200/cairo

Modified Files:
	cairomodule.c 
Log Message:
SC

Index: cairomodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairomodule.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- cairomodule.c	2 May 2005 02:25:51 -0000	1.26
+++ cairomodule.c	6 May 2005 04:01:42 -0000	1.27
@@ -88,6 +88,10 @@
 	PyErr_SetString(PyExc_RuntimeError, "the surface type is not "
 			"appropriate for the operation");
 	return 1;
+    case CAIRO_STATUS_BAD_NESTING:
+	PyErr_SetString(PyExc_RuntimeError, "drawing operations interleaved "
+			"for two contexts for the same surface");
+	return 1;
     default:
 	PyErr_SetString(PyExc_RuntimeError, "<unknown error status>");
 	return 1;




More information about the cairo-commit mailing list