--- osmgpsmapmodule.c.orig	2012-03-23 13:31:26.000000000 -0700
+++ osmgpsmapmodule.c	2012-03-23 13:32:14.000000000 -0700
@@ -16,6 +16,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#define NO_IMPORT_PYGOBJECT
+
 #include <pygobject.h>
 #include <osm-gps-map.h>
 #include <osm-gps-map-osd.h>
