]> Dogcows Code - chaz/openbox/commitdiff
nicer
authorDana Jansens <danakj@orodu.net>
Sat, 21 Dec 2002 12:27:49 +0000 (12:27 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Dec 2002 12:27:49 +0000 (12:27 +0000)
otk_c/rect.c

index 14b5fc56835beab79577ddf8684f11e6b7a842d1..64204dc28a856ce42c5b290b8cde0767e4f5338f 100644 (file)
@@ -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;
This page took 0.02405 seconds and 4 git commands to generate.