[gtk/gtk-3-24] Add a 3.24 version
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Add a 3.24 version
- Date: Mon, 4 Jun 2018 22:59:57 +0000 (UTC)
commit 19b9659cce4c767988bda52bcbf8fec4b072cc6b
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 4 07:16:35 2018 -0400
Add a 3.24 version
gdk/gdkversionmacros.h.in | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index bc2365df3d..410abcbe6a 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -172,6 +172,16 @@
*/
#define GDK_VERSION_3_22 (G_ENCODE_VERSION (3, 22))
+/**
+ * GDK_VERSION_3_24:
+ *
+ * A macro that evaluates to the 3.24 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.24
+ */
+#define GDK_VERSION_3_24 (G_ENCODE_VERSION (3, 24))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -412,5 +422,11 @@
# define GDK_AVAILABLE_IN_3_22 _GDK_EXTERN
#endif
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_24
+# define GDK_AVAILABLE_IN_3_24 GDK_UNAVAILABLE(3, 24)
+#else
+# define GDK_AVAILABLE_IN_3_24 _GDK_EXTERN
+#endif
+
#endif /* __GDK_VERSION_MACROS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]