summaryrefslogtreecommitdiff
path: root/otk_c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-21 12:27:49 +0000
committerDana Jansens <danakj@orodu.net>2002-12-21 12:27:49 +0000
commit0a4391e55ef63f6ac6d67aa975abbcc0ad014d67 (patch)
tree52e25d574a1df20d713e69f900b4294cde9d4da2 /otk_c
parentcca7a6762d273815947bd5c7cc58ab6713693e8e (diff)
nicer
Diffstat (limited to 'otk_c')
-rw-r--r--otk_c/rect.c4
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;