[cairo-commit] pycairo/cairo cairomodule.c,1.78,1.79

Steve Chaplin commit at pdx.freedesktop.org
Mon Mar 23 18:21:12 PDT 2009


Committed by: stevech1097

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

Modified Files:
	cairomodule.c 
Log Message:
'SC'

Index: cairomodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairomodule.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- cairomodule.c	19 Mar 2009 09:03:46 -0000	1.78
+++ cairomodule.c	24 Mar 2009 01:21:10 -0000	1.79
@@ -167,13 +167,14 @@
 {
     PyObject *m;
 
+    /* initialise 'tp_base' here to work round problem with MinGW compiler */
     PycairoContext_Type.tp_base = &PyBaseObject_Type;
     if (PyType_Ready(&PycairoContext_Type) < 0)
         return;
     PycairoFontFace_Type.tp_base = &PyBaseObject_Type;
     if (PyType_Ready(&PycairoFontFace_Type) < 0)
         return;
-    PycairoToyFontFace_Type.tp_base = &PyBaseObject_Type;
+    PycairoToyFontFace_Type.tp_base = &PycairoFontFace_Type;
     if (PyType_Ready(&PycairoToyFontFace_Type) < 0)
         return;
     PycairoFontOptions_Type.tp_base = &PyBaseObject_Type;



More information about the cairo-commit mailing list