[gtk+/wip/frame-synchronization] Add gdk version macros for 3.8
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/frame-synchronization] Add gdk version macros for 3.8
- Date: Mon, 7 Jan 2013 19:10:08 +0000 (UTC)
commit 1af71e2c2e909e9371dda67eef6d6a32ffa3aa21
Author: Stefano Facchini <stefano facchini gmail com>
Date: Wed Sep 19 13:33:26 2012 +0200
Add gdk version macros for 3.8
https://bugzilla.gnome.org/show_bug.cgi?id=684288
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 cf733f1..8eae9cf 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -217,4 +217,18 @@
# define GDK_AVAILABLE_IN_3_6
#endif
+#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_8
+# define GDK_DEPRECATED_IN_3_8 GDK_DEPRECATED
+# define GDK_DEPRECATED_IN_3_8_FOR(f) GDK_DEPRECATED_FOR(f)
+#else
+# define GDK_DEPRECATED_IN_3_8
+# define GDK_DEPRECATED_IN_3_8_FOR(f)
+#endif
+
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_8
+# define GDK_AVAILABLE_IN_3_8 GDK_UNAVAILABLE(3, 8)
+#else
+# define GDK_AVAILABLE_IN_3_8
+#endif
+
#endif /* __GDK_VERSION_MACROS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]