X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk_c%2Frect.c;h=64204dc28a856ce42c5b290b8cde0767e4f5338f;hb=55b2aaf973063796a668bc758232141c3d6f5cc9;hp=14b5fc56835beab79577ddf8684f11e6b7a842d1;hpb=8d3d9ae75c3b023288af18492713b00ca8244fe1;p=chaz%2Fopenbox 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;