set ob_type for FillStyle/LineStyle.
authorkramm <kramm>
Sat, 5 Feb 2005 19:41:21 +0000 (19:41 +0000)
committerkramm <kramm>
Sat, 5 Feb 2005 19:41:21 +0000 (19:41 +0000)
lib/python/primitives.c

index 008c84a..7a8a717 100644 (file)
@@ -631,6 +631,8 @@ PyMethodDef* primitive_getMethods()
     CXFormClass.ob_type = &PyType_Type;
     BBoxClass.ob_type = &PyType_Type;
     MatrixClass.ob_type = &PyType_Type;
+    FillStyleClass.ob_type = &PyType_Type;
+    LineStyleClass.ob_type = &PyType_Type;
     return primitive_methods;
 }