[gtk+/wip/cssvalue: 1/164] gdk: Add deprecation/availability macros for 3.6
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue: 1/164] gdk: Add deprecation/availability macros for 3.6
- Date: Wed, 11 Apr 2012 14:40:00 +0000 (UTC)
commit 5f71dfc5f4b46a14e09d55200af3818b9a0d046f
Author: Benjamin Otte <otte redhat com>
Date: Fri Mar 16 01:23:26 2012 +0100
gdk: Add deprecation/availability macros for 3.6
gdk/gdkversionmacros.h.in | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index cbb9265..443c286 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -193,4 +193,18 @@
# define GDK_AVAILABLE_IN_3_4
#endif
+#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_6
+# define GDK_DEPRECATED_IN_3_6 GDK_DEPRECATED
+# define GDK_DEPRECATED_IN_3_6_FOR(f) GDK_DEPRECATED_FOR(f)
+#else
+# define GDK_DEPRECATED_IN_3_6
+# define GDK_DEPRECATED_IN_3_6_FOR(f)
+#endif
+
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_6
+# define GDK_AVAILABLE_IN_3_6 GDK_UNAVAILABLE(3, 6)
+#else
+# define GDK_AVAILABLE_IN_3_6
+#endif
+
#endif /* __GDK_VERSION_MACROS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]