--- gobject/pygobject.h	2006-09-04 21:20:00.000000000 +0200
+++ /usr/include/pygtk-2.0/pygobject.h	2006-09-05 00:26:57.652884750 +0200
@@ -309,8 +309,9 @@
     if (!PyArg_ParseTuple(version, "iii",                                 \
                           &found_major, &found_minor, &found_micro))      \
         return;                                                           \
-    if (major > found_major || minor > found_minor ||                     \
-        micro > found_micro) {                                            \
+    if (!((major < found_major) ||                                        \
+          (major == found_major && minor < found_minor) ||                    \
+          (major == found_major && minor == found_minor && micro <= found_micro))) { \
         PyErr_Format(PyExc_ImportError,                                   \
                      "PyGObject version too old, %d.%d.%d is required, "  \
                      "found %d.%d.%d.", major, minor, micro,              \
