[cairo-commit] pycairo/cairo pycairo-pattern.c,1.41,1.42

Steve Chaplin commit at pdx.freedesktop.org
Sun Dec 14 22:14:00 PST 2008


Committed by: stevech1097

Update of /cvs/cairo/pycairo/cairo
In directory kemper:/tmp/cvs-serv32083/cairo

Modified Files:
	pycairo-pattern.c 
Log Message:
'SC'

Index: pycairo-pattern.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-pattern.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- pycairo-pattern.c	10 Dec 2008 08:18:58 -0000	1.41
+++ pycairo-pattern.c	15 Dec 2008 06:13:58 -0000	1.42
@@ -296,10 +296,14 @@
 static PyObject *
 surface_pattern_get_surface (PycairoSurfacePattern *o)
 {
+    /*
     cairo_surface_t *surface;
     cairo_pattern_get_surface (o->pattern, &surface);
     return PycairoSurface_FromSurface (
 			       cairo_surface_reference (surface), NULL);
+    */
+    /* return the surface used to create the pattern */
+    return Py_BuildValue("O", o->base);
 }
 
 static PyObject *



More information about the cairo-commit mailing list