From 0a4391e55ef63f6ac6d67aa975abbcc0ad014d67 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Dec 2002 12:27:49 +0000 Subject: [PATCH] nicer --- otk_c/rect.c | 4 +--- 1 file changed, 1 insertion(+), 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; -- 2.45.2