gdk: Add GDK_DEPRECATED_IN_3_24() macros

This commit is contained in:
Benjamin Otte 2018-07-24 20:32:06 +02:00
parent a6de3ed7b4
commit 8fd5b567dc

View File

@ -422,6 +422,14 @@
# define GDK_AVAILABLE_IN_3_22 _GDK_EXTERN
#endif
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_24
# define GDK_DEPRECATED_IN_3_24 GDK_DEPRECATED
# define GDK_DEPRECATED_IN_3_24_FOR(f) GDK_DEPRECATED_FOR(f)
#else
# define GDK_DEPRECATED_IN_3_24 _GDK_EXTERN
# define GDK_DEPRECATED_IN_3_24_FOR(f) _GDK_EXTERN
#endif
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_24
# define GDK_AVAILABLE_IN_3_24 GDK_UNAVAILABLE(3, 24)
#else