2006-12-02 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-version.h.in: Fix a stupid logic
	error in the CHECK_VERSION macro.
This commit is contained in:
Emmanuele Bassi 2006-12-02 22:54:58 +00:00
parent 0abaab44ac
commit 334789b1fc
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-12-02 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-version.h.in: Fix a stupid logic
error in the CHECK_VERSION macro.
2006-11-30 Matthew Allum <mallum@openedhand.com> 2006-11-30 Matthew Allum <mallum@openedhand.com>
* clutter.doap: * clutter.doap:

View File

@ -10,8 +10,8 @@
#define CLUTTER_VERSION_HEX 0x@CLUTTER_MAJOR_VERSION@0@CLUTTER_MINOR_VERSION@0@CLUTTER_MICRO_VERSION@ #define CLUTTER_VERSION_HEX 0x@CLUTTER_MAJOR_VERSION@0@CLUTTER_MINOR_VERSION@0@CLUTTER_MICRO_VERSION@
#define CLUTTER_CHECK_VERSION(major,minor,micro) \ #define CLUTTER_CHECK_VERSION(major,minor,micro) \
((CLUTTER_MAJOR_VERSION > (major)) || \ (CLUTTER_MAJOR_VERSION > (major) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \ (CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) || CLUTTER_MICRO_VERSION > (micro))) (CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION > (micro)))
#endif /* __CLUTTER_VERSION_H__ */ #endif /* __CLUTTER_VERSION_H__ */