[gtksourceview] build: bump for GtkSourceView 5.6 development



commit ae450e9eed68a28d05573f47af3a65ed27d99188
Author: Christian Hergert <chergert redhat com>
Date:   Sun Apr 3 10:40:47 2022 -0700

    build: bump for GtkSourceView 5.6 development

 gtksourceview/gtksourceversion.h.in | 18 ++++++++++++++++++
 meson.build                         |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourceversion.h.in b/gtksourceview/gtksourceversion.h.in
index 657f8b43..f8e7a98a 100644
--- a/gtksourceview/gtksourceversion.h.in
+++ b/gtksourceview/gtksourceversion.h.in
@@ -107,6 +107,16 @@ G_BEGIN_DECLS
  */
 #define GTK_SOURCE_VERSION_5_4 (G_ENCODE_VERSION (5, 4))
 
+/**
+ * GTK_SOURCE_VERSION_5_6:
+ *
+ * A macro that evaluates to the 5.6 version of GtkSourceView,
+ * in a format that can be used by the C pre-processor.
+ *
+ * Since: 5.6
+ */
+#define GTK_SOURCE_VERSION_5_6 (G_ENCODE_VERSION (5, 6))
+
 /* Define GTK_SOURCE_VERSION_CUR_STABLE */
 #ifndef __GTK_DOC_IGNORE__
 #  if (GTK_SOURCE_MINOR_VERSION % 2)
@@ -200,6 +210,14 @@ G_BEGIN_DECLS
 #endif
 #endif /* __GTK_DOC_IGNORE__ */
 
+#ifndef __GTK_DOC_IGNORE__
+#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_5_6
+#define GTK_SOURCE_AVAILABLE_IN_5_6 G_UNAVAILABLE(5, 6) _GTK_SOURCE_EXTERN
+#else
+#define GTK_SOURCE_AVAILABLE_IN_5_6 _GTK_SOURCE_EXTERN
+#endif
+#endif /* __GTK_DOC_IGNORE__ */
+
 GTK_SOURCE_AVAILABLE_IN_ALL
 guint    gtk_source_get_major_version (void);
 GTK_SOURCE_AVAILABLE_IN_ALL
diff --git a/meson.build b/meson.build
index 0da40b9d..8b191e8c 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('gtksourceview', 'c',
-          version: '5.4.0',
+          version: '5.5.0',
           license: 'LGPL-2.1-or-later',
     meson_version: '>= 0.59.0',
   default_options: [ 'c_std=gnu99',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]