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)
{
OtkRect* self;
self = PyObject_New(OtkRect, &OtkRect_Type);
OtkRect* self = PyObject_New(OtkRect, &OtkRect_Type);
self->x = x;
self->y = y;