aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathy/pyempathymodule.c
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-20 19:59:15 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-20 20:10:28 +0800
commit6496713f0997ab90e7ee686819640b22b4911aea (patch)
treec18874181bb0cf1a8abaafa0a946273df5b684b1 /python/pyempathy/pyempathymodule.c
parent90469882929d06151352d3d8e8b0e6a1f5229905 (diff)
downloadgsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.gz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.bz2
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.lz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.xz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.zst
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.zip
Remove python bindings. (Closes bug #599039)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'python/pyempathy/pyempathymodule.c')
-rw-r--r--python/pyempathy/pyempathymodule.c28
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");
- }
-}
-