diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-21 12:27:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-21 12:27:49 +0000 |
| commit | 0a4391e55ef63f6ac6d67aa975abbcc0ad014d67 (patch) | |
| tree | 52e25d574a1df20d713e69f900b4294cde9d4da2 | |
| parent | cca7a6762d273815947bd5c7cc58ab6713693e8e (diff) | |
nicer
| -rw-r--r-- | otk_c/rect.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/otk_c/rect.c b/otk_c/rect.c index 14b5fc56..64204dc2 100644 --- a/otk_c/rect.c +++ b/otk_c/rect.c @@ -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; |
