projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca7a67
)
nicer
author
Dana Jansens
<danakj@orodu.net>
Sat, 21 Dec 2002 12:27:49 +0000
(12:27 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 21 Dec 2002 12:27:49 +0000
(12:27 +0000)
otk_c/rect.c
patch
|
blob
|
history
diff --git
a/otk_c/rect.c
b/otk_c/rect.c
index 14b5fc56835beab79577ddf8684f11e6b7a842d1..64204dc28a856ce42c5b290b8cde0767e4f5338f 100644
(file)
--- 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;