diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2006-09-24 20:38:55 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2006-09-24 20:38:55 +0000 |
commit | e39fdcbc873055f35dae4fb9a529b4aa18e18bc6 (patch) | |
tree | 250f814dba8022519c5e3885cf2c622bd4744630 | |
parent | 16d397d8f104b04c4de5f97957b5ae5cc6d27b74 (diff) | |
download | pygobject-e39fdcbc873055f35dae4fb9a529b4aa18e18bc6.tar.gz pygobject-e39fdcbc873055f35dae4fb9a529b4aa18e18bc6.tar.xz pygobject-e39fdcbc873055f35dae4fb9a529b4aa18e18bc6.zip |
(init_pygobject_check): Add parentheses "around && within ||" to please gcc.
-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, \ |