summaryrefslogtreecommitdiff
path: root/src/cairomodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairomodule.c')
-rw-r--r--src/cairomodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairomodule.c b/src/cairomodule.c
index 21b7b20..bc95108 100644
--- a/src/cairomodule.c
+++ b/src/cairomodule.c
@@ -188,6 +188,8 @@ init_cairo(void)
if (PyType_Ready(&PycairoPath_Type) < 0)
return;
PycairoPathiter_Type.tp_iter=&PyObject_SelfIter;
+ if (PyType_Ready(&PycairoPathiter_Type) < 0)
+ return;
if (PyType_Ready(&PycairoPattern_Type) < 0)
return;