Removed init[slot,signal] from public api.

Use PyObject_dir to discovery signals methods. (this is very slow)

Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
          Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Renato Filho 2010-05-17 16:50:25 -03:00
commit 367536b2aa
4 changed files with 21 additions and 26 deletions

View file

@ -74,7 +74,7 @@ static PyTypeObject Slot_Type = {
0, /*tp_del */
};
PyAPI_FUNC(void) init_slot(PyObject *module)
void init_slot(PyObject *module)
{
if (PyType_Ready(&Slot_Type) < 0)
return;