summaryrefslogtreecommitdiff
path: root/gdk/gdkversionmacros.h.in
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-10-23 17:36:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-10-23 17:36:17 -0400
commit5aff66f391aacdcb5e0f6945a346febed0a8e2a6 (patch)
tree346beb14726bfbb6e7b75bee2d7209e2dc405c71 /gdk/gdkversionmacros.h.in
parent6245362a52616ef0a5e568ddeead53f9d3160a83 (diff)
downloadgtk+-5aff66f391aacdcb5e0f6945a346febed0a8e2a6.tar.gz
Add GDK_VERSION_3_8
This macro is needed for the new AVAILABLE_IN and DEPRECATED_IN macros.
Diffstat (limited to 'gdk/gdkversionmacros.h.in')
-rw-r--r--gdk/gdkversionmacros.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index 8eae9cf1a8..fa56f9fa32 100644
--- a/gdk/gdkversionmacros.h.in
+++ b/gdk/gdkversionmacros.h.in
@@ -90,6 +90,16 @@
*/
#define GDK_VERSION_3_6 (G_ENCODE_VERSION (3, 6))
+/**
+ * GDK_VERSION_3_8:
+ *
+ * A macro that evaluates to the 3.8 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.8
+ */
+#define GDK_VERSION_3_8 (G_ENCODE_VERSION (3, 8))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target