nicer
This commit is contained in:
parent
cca7a6762d
commit
0a4391e55e
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue