diff --git a/otk_c/init.c b/otk_c/init.c index a958c4fe..8ea5d4a1 100644 --- a/otk_c/init.c +++ b/otk_c/init.c @@ -19,6 +19,7 @@ static PyMethodDef otk_methods[] = { void initotk(char *display) { + OtkRect_Type.ob_type = &PyType_Type; OtkDisplay_Type.ob_type = &PyType_Type; OtkScreenInfo_Type.ob_type = &PyType_Type; OtkColor_Type.ob_type = &PyType_Type;