diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | gobject/pygobject.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-09-24 Gustavo J. A. M. Carneiro <gjc@gnome.org> + + * gobject/pygobject.h (init_pygobject_check): Add parentheses + "around && within ||" to please gcc. + 2006-09-21 Cedric Gustin <cedric.gustin@gmail.com> * dsextras.py: Catch ImportError exception when codegen is not diff --git a/gobject/pygobject.h b/gobject/pygobject.h index a8ab6ed..68df6d3 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -312,7 +312,7 @@ struct _PyGObject_Functions *_PyGObject_API; return; \ if (req_major != found_major || \ req_minor > found_minor || \ - req_minor == found_minor && req_micro > found_micro) { \ + (req_minor == found_minor && req_micro > found_micro)) { \ PyErr_Format(PyExc_ImportError, \ "PyGObject version mismatch, %d.%d.%d is required, " \ "found %d.%d.%d.", req_major, req_minor, req_micro, \ |
