aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-28 18:31:56 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-28 18:31:56 +0800
commit40a0d90c492b79ffbf3917ed452730fb8650fe09 (patch)
treed89e65a97755e5b15ed2c7952f9024ec0eeb815d /python
parenta62ea56a864f3f33bfd1820a68f067de07db8d86 (diff)
downloadgsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.tar
gsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.tar.gz
gsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.tar.bz2
gsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.tar.lz
gsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.tar.xz
gsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.tar.zst
gsoc2013-empathy-40a0d90c492b79ffbf3917ed452730fb8650fe09.zip
prevent problem with multiple definition of the same symbol. Fixes bug #558370 (Michael Scherer).
svn path=/trunk/; revision=1922
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);