move the extern OtkRect_Type to the .h

This commit is contained in:
Dana Jansens 2002-12-21 14:59:14 +00:00
parent fed74a940e
commit 4b443976da

View file

@ -3,8 +3,6 @@
#include "../config.h"
#include "rect.h"
extern PyTypeObject OtkRect_Type;
PyObject *OtkRect_New(int x, int y, int width, int height)
{
OtkRect* self = PyObject_New(OtkRect, &OtkRect_Type);