mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 12:12:25 +00:00
version: Add 1.14 version macros
https://bugzilla.gnome.org/show_bug.cgi?id=685028
This commit is contained in:
parent
36c2343001
commit
cb4620d14f
@ -262,4 +262,18 @@
|
||||
# define CLUTTER_AVAILABLE_IN_1_12
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_14
|
||||
# define CLUTTER_DEPRECATED_IN_1_14 CLUTTER_DEPRECATED
|
||||
# define CLUTTER_DEPRECATED_IN_1_14_FOR(f) CLUTTER_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define CLUTTER_DEPRECATED_IN_1_14
|
||||
# define CLUTTER_DEPRECATED_IN_1_14_FOR(f)
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_14
|
||||
# define CLUTTER_AVAILABLE_IN_1_14 CLUTTER_UNAVAILABLE(1, 14)
|
||||
#else
|
||||
# define CLUTTER_AVAILABLE_IN_1_14
|
||||
#endif
|
||||
|
||||
#endif /* __CLUTTER_MACROS_H__ */
|
||||
|
@ -194,6 +194,16 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#define CLUTTER_VERSION_1_12 (G_ENCODE_VERSION (1, 12))
|
||||
|
||||
/**
|
||||
* CLUTTER_VERSION_1_14:
|
||||
*
|
||||
* A macro that evaluates to the 1.14 version of Clutter, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 1.14
|
||||
*/
|
||||
#define CLUTTER_VERSION_1_14 (G_ENCODE_VERSION (1, 14))
|
||||
|
||||
/* evaluates to the current stable version; for development cycles,
|
||||
* this means the next stable target
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user