[gtk+/wip/baedert/progressbar: 3/19] gdk: Add 3.92 version macros
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/progressbar: 3/19] gdk: Add 3.92 version macros
- Date: Mon, 24 Apr 2017 16:40:43 +0000 (UTC)
commit f26041a4471fd4cb083405b6de13877fa2b58061
Author: Timm Bäder <mail baedert org>
Date: Sun Apr 9 11:54:02 2017 +0200
gdk: Add 3.92 version macros
gdk/gdkversionmacros.h.in | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index a42a34b..fad0d6b 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -182,6 +182,17 @@
*/
#define GDK_VERSION_3_90 (G_ENCODE_VERSION (3, 90))
+/**
+ * GDK_VERSION_3_92:
+ *
+ * A macro that evaluates to the 3.92 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.92
+ */
+#define GDK_VERSION_3_92 (G_ENCODE_VERSION (3, 92))
+
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -428,5 +439,12 @@
# define GDK_AVAILABLE_IN_3_90 _GDK_EXTERN
#endif
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_92
+# define GDK_AVAILABLE_IN_3_92 GDK_UNAVAILABLE(3, 92)
+#else
+# define GDK_AVAILABLE_IN_3_92 _GDK_EXTERN
+#endif
+
+
#endif /* __GDK_VERSION_MACROS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]