aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/pyempathymodule.c2
-rw-r--r--python/pyempathygtk/pyempathygtkmodule.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathymodule.c b/python/pyempathy/pyempathymodule.c
index 118031366..9448665c3 100644
--- a/python/pyempathy/pyempathymodule.c
+++ b/python/pyempathy/pyempathymodule.c
@@ -1,3 +1,5 @@
+#define NO_IMPORT_PYGOBJECT
+
#include <pygobject.h>
void empathy_register_classes (PyObject *d);
diff --git a/python/pyempathygtk/pyempathygtkmodule.c b/python/pyempathygtk/pyempathygtkmodule.c
index 4f751f08d..765b46d7d 100644
--- a/python/pyempathygtk/pyempathygtkmodule.c
+++ b/python/pyempathygtk/pyempathygtkmodule.c
@@ -1,3 +1,5 @@
+#define NO_IMPORT_PYGOBJECT
+
#include <pygobject.h>
void empathy_register_classes (PyObject *d);