Blob Blame History Raw
diff -ur python-gtkextra/gtkextra/gtkextra.override python-gtkextra-1.1.0/gtkextra/gtkextra.override
--- python-gtkextra/gtkextra/gtkextra.override	2011-07-15 18:20:28.659473854 +0200
+++ python-gtkextra-1.1.0/gtkextra/gtkextra.override	2011-07-15 18:52:45.822162295 +0200
@@ -28,6 +28,10 @@
 #include <pygtk/pygtk.h>
 #include <gtkextra/gtkextra.h>
 #include <gtkextra/gtkextratypebuiltins.h>
+/* pygobject assumes that the cast macro for X_TYPE_Y is called X_Y. */
+#ifndef GTK_TYPE_ITEM_ENTRY
+#define GTK_TYPE_ITEM_ENTRY G_TYPE_ITEM_ENTRY
+#endif
 
 static PyObject *pygtkextra_data_from_pyobject_callback = NULL;
 static const gchar *const function_key = "pygtkextra::function";