summaryrefslogtreecommitdiff
path: root/gnome-2-26/python/pyempathygtk/pyempathygtkmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-2-26/python/pyempathygtk/pyempathygtkmodule.c')
-rw-r--r--gnome-2-26/python/pyempathygtk/pyempathygtkmodule.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gnome-2-26/python/pyempathygtk/pyempathygtkmodule.c b/gnome-2-26/python/pyempathygtk/pyempathygtkmodule.c
deleted file mode 100644
index 20e09e3f3..000000000
--- a/gnome-2-26/python/pyempathygtk/pyempathygtkmodule.c
+++ /dev/null
@@ -1,27 +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) initempathygtk(void);
-extern PyMethodDef empathy_functions[];
-
-DL_EXPORT(void) initempathygtk(void)
-{
- PyObject *m, *d;
-
- init_pygobject ();
-
- m = Py_InitModule ("empathygtk", 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 empathygtk");
- }
-}
-