mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Relax the CLUTTER_CHECK_VERSION() macro check
The macro should check for a micro version greater or equal to the specified micro version parameter. Fixes bug 477, patch by Neil Roberts.
This commit is contained in:
parent
553932d68a
commit
7ab6f4e338
@ -1,3 +1,8 @@
|
||||
2007-08-20 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-version.h.in: Fix CLUTTER_CHECK_VERSION()
|
||||
macro to accept micro versions. (#477, Neil Roberts)
|
||||
|
||||
2007-08-19 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
Various timeline related changes.
|
||||
|
@ -91,7 +91,7 @@
|
||||
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
|
||||
(CLUTTER_MAJOR_VERSION > (major) || \
|
||||
(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)))
|
||||
|
||||
/**
|
||||
* CLUTTER_FLAVOUR:
|
||||
|
Loading…
Reference in New Issue
Block a user