--- poppler.override.orig	2009-09-26 11:31:23.000000000 -0700
+++ poppler.override		2013-08-12 09:33:31.000000000 -0700
@@ -19,8 +19,10 @@
 %%
 headers
 #include <Python.h>
+#define NO_IMPORT_PYGOBJECT
 #include "pygobject.h"
 #include <glib/poppler.h>
+#define NO_IMPORT_PYGTK
 #include <pygtk/pygtk.h>
 #include <pycairo.h>
 #include <gdk/gdkregion.h>
