aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r--python/pyempathygtk/pyempathygtkmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/pyempathygtk/pyempathygtkmodule.c b/python/pyempathygtk/pyempathygtkmodule.c
index 765b46d7d..20e09e3f3 100644
--- a/python/pyempathygtk/pyempathygtkmodule.c
+++ b/python/pyempathygtk/pyempathygtkmodule.c
@@ -3,6 +3,7 @@
#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[];
@@ -16,6 +17,7 @@ DL_EXPORT(void) initempathygtk(void)
d = PyModule_GetDict (m);
empathy_register_classes (d);
+ empathy_add_constants(m, "EMPATHY_");
if (PyErr_Occurred ()) {
PyErr_Print();