diff options
Diffstat (limited to 'python/pyempathy/pyempathymodule.c')
-rw-r--r-- | python/pyempathy/pyempathymodule.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/python/pyempathy/pyempathymodule.c b/python/pyempathy/pyempathymodule.c deleted file mode 100644 index 59c093c83..000000000 --- a/python/pyempathy/pyempathymodule.c +++ /dev/null @@ -1,28 +0,0 @@ -#define NO_IMPORT_PYGOBJECT - -#include <pygobject.h> - -void empathy_register_classes (PyObject *d); -void empathy_add_constants(PyObject *module, const gchar *strip_prefix); -DL_EXPORT(void) initempathy(void); -extern PyMethodDef empathy_functions[]; - -DL_EXPORT(void) -initempathy(void) -{ - PyObject *m, *d; - - init_pygobject (); - - m = Py_InitModule ("empathy", empathy_functions); - d = PyModule_GetDict (m); - - empathy_register_classes (d); - empathy_add_constants(m, "EMPATHY_"); - - if (PyErr_Occurred ()) { - PyErr_Print(); - Py_FatalError ("can't initialise module empathy"); - } -} - |