mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Define 3.10 version macros
This commit is contained in:
parent
3bc8b2dea4
commit
2ca30bf8e8
@ -100,6 +100,16 @@
|
|||||||
*/
|
*/
|
||||||
#define GDK_VERSION_3_8 (G_ENCODE_VERSION (3, 8))
|
#define GDK_VERSION_3_8 (G_ENCODE_VERSION (3, 8))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GDK_VERSION_3_10:
|
||||||
|
*
|
||||||
|
* A macro that evaluates to the 3.10 version of GDK, in a format
|
||||||
|
* that can be used by the C pre-processor.
|
||||||
|
*
|
||||||
|
* Since: 3.10
|
||||||
|
*/
|
||||||
|
#define GDK_VERSION_3_10 (G_ENCODE_VERSION (3, 10))
|
||||||
|
|
||||||
|
|
||||||
/* evaluates to the current stable version; for development cycles,
|
/* evaluates to the current stable version; for development cycles,
|
||||||
* this means the next stable target
|
* this means the next stable target
|
||||||
@ -241,4 +251,18 @@
|
|||||||
# define GDK_AVAILABLE_IN_3_8
|
# define GDK_AVAILABLE_IN_3_8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_10
|
||||||
|
# define GDK_DEPRECATED_IN_3_10 GDK_DEPRECATED
|
||||||
|
# define GDK_DEPRECATED_IN_3_10_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||||
|
#else
|
||||||
|
# define GDK_DEPRECATED_IN_3_10
|
||||||
|
# define GDK_DEPRECATED_IN_3_10_FOR(f)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_10
|
||||||
|
# define GDK_AVAILABLE_IN_3_10 GDK_UNAVAILABLE(3, 10)
|
||||||
|
#else
|
||||||
|
# define GDK_AVAILABLE_IN_3_10
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __GDK_VERSION_MACROS_H__ */
|
#endif /* __GDK_VERSION_MACROS_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user