Fix bug #3819 “Duplicate definition of global pygtk symbols”
authorRicardo Mones <ricardo@mones.org>
Thu, 4 May 2017 22:20:39 +0000 (00:20 +0200)
committerRicardo Mones <ricardo@mones.org>
Thu, 4 May 2017 22:20:39 +0000 (00:20 +0200)
Patch by Hanno Boeck (thanks! :)

src/plugins/python/clawsmailmodule.c

index aa472e0..d86ae72 100644 (file)
@@ -33,7 +33,9 @@
 #include "accounttype.h"
 #include "mailboxtype.h"
 
+#define NO_IMPORT_PYGOBJECT
 #include <pygobject.h>
+#define NO_IMPORT_PYGTK
 #include <pygtk/pygtk.h>
 
 #include "main.h"