commit f6c690e3c9928eb3694c033ee081fecb2e57a4a1
parent 0e82e53cee31179a6394456fc8973c1eb6ffdf8f
Author: Ricardo Mones <ricardo@mones.org>
Date: Fri, 5 May 2017 00:20:39 +0200
Fix bug #3819 “Duplicate definition of global pygtk symbols”
Patch by Hanno Boeck (thanks! :)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/plugins/python/clawsmailmodule.c b/src/plugins/python/clawsmailmodule.c
@@ -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"