This commit is contained in:
Dana Jansens 2002-12-21 12:27:49 +00:00
parent cca7a6762d
commit 0a4391e55e

View file

@ -7,9 +7,7 @@ extern PyTypeObject OtkRect_Type;
PyObject *OtkRect_New(int x, int y, int width, int height) PyObject *OtkRect_New(int x, int y, int width, int height)
{ {
OtkRect* self; OtkRect* self = PyObject_New(OtkRect, &OtkRect_Type);
self = PyObject_New(OtkRect, &OtkRect_Type);
self->x = x; self->x = x;
self->y = y; self->y = y;