[gtk+/switch-state: 1/3] Add version macros for 3.14
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/switch-state: 1/3] Add version macros for 3.14
- Date: Tue, 1 Apr 2014 23:48:37 +0000 (UTC)
commit 91e9f1b119a501e3c9a155e15818fa95f15db086
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 28 21:50:44 2014 -0400
Add version macros for 3.14
gdk/gdkversionmacros.h.in | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index 0c74e8d..79f0d40 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -293,4 +293,19 @@
# define GDK_AVAILABLE_IN_3_12 _GDK_EXTERN
#endif
+#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_14
+# define GDK_DEPRECATED_IN_3_14 GDK_DEPRECATED
+# define GDK_DEPRECATED_IN_3_14_FOR(f) GDK_DEPRECATED_FOR(f)
+#else
+# define GDK_DEPRECATED_IN_3_14 _GDK_EXTERN
+# define GDK_DEPRECATED_IN_3_14_FOR(f) _GDK_EXTERN
+#endif
+
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_14
+# define GDK_AVAILABLE_IN_3_14 GDK_UNAVAILABLE(3, 14)
+#else
+# define GDK_AVAILABLE_IN_3_14 _GDK_EXTERN
+#endif
+
#endif /* __GDK_VERSION_MACROS_H__ */
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]