[gtk/gtk-3-24] gdk: Add GDK_DEPRECATED_IN_3_24() macros



commit 8fd5b567dcde6308cbc2674f6136a5cc048913cb
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jul 24 20:32:06 2018 +0200

    gdk: Add GDK_DEPRECATED_IN_3_24() macros

 gdk/gdkversionmacros.h.in | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index 410abcbe6a..bba7a5784d 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]