[gnome-builder] version: Use new versioning scheme (3.42 -> 41)
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] version: Use new versioning scheme (3.42 -> 41)
- Date: Thu, 8 Jul 2021 01:08:41 +0000 (UTC)
commit 01fc356ae50f07f230735a74bac1232b44347a47
Author: vanadiae <vanadiae35 gmail com>
Date: Sat Jul 3 17:20:29 2021 +0200
version: Use new versioning scheme (3.42 -> 41)
As I was introducing new APIs (and changing substantially new ones), I
thought it could be useful to change now to the new versioning scheme,
as there's only one function for the moment that was made available in
3.42 (i.e. now 41).
So this commit changes from version 3.42 to 41 for this release cycle.
meson.build | 2 +-
src/libide/core/ide-version-macros.h | 18 +++++++++---------
src/libide/gui/ide-application.h | 2 +-
3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/meson.build b/meson.build
index 28b5afd26..c72888a2e 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('gnome-builder', 'c',
license: 'GPL3+',
- version: '3.41.0',
+ version: '41.0.0',
meson_version: '>= 0.54.0',
default_options: [ 'c_std=gnu11',
'cpp_std=gnu++2a',
diff --git a/src/libide/core/ide-version-macros.h b/src/libide/core/ide-version-macros.h
index a28b3c2d4..ae3baaaef 100644
--- a/src/libide/core/ide-version-macros.h
+++ b/src/libide/core/ide-version-macros.h
@@ -45,7 +45,7 @@
#define IDE_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
#define IDE_VERSION_3_38 (G_ENCODE_VERSION (3, 38))
#define IDE_VERSION_3_40 (G_ENCODE_VERSION (3, 40))
-#define IDE_VERSION_3_42 (G_ENCODE_VERSION (3, 42))
+#define IDE_VERSION_41 (G_ENCODE_VERSION (41, 0))
#if (IDE_MINOR_VERSION == 99)
# define IDE_VERSION_CUR_STABLE (G_ENCODE_VERSION (IDE_MAJOR_VERSION + 1, 0))
@@ -216,16 +216,16 @@
# define IDE_AVAILABLE_IN_3_40 _IDE_EXTERN
#endif
-#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_3_42
-# define IDE_DEPRECATED_IN_3_42 IDE_DEPRECATED
-# define IDE_DEPRECATED_IN_3_42_FOR(f) IDE_DEPRECATED_FOR(f)
+#if IDE_VERSION_MIN_REQUIRED >= IDE_VERSION_41
+# define IDE_DEPRECATED_IN_41 IDE_DEPRECATED
+# define IDE_DEPRECATED_IN_41_FOR(f) IDE_DEPRECATED_FOR(f)
#else
-# define IDE_DEPRECATED_IN_3_42 _IDE_EXTERN
-# define IDE_DEPRECATED_IN_3_42_FOR(f) _IDE_EXTERN
+# define IDE_DEPRECATED_IN_41 _IDE_EXTERN
+# define IDE_DEPRECATED_IN_41_FOR(f) _IDE_EXTERN
#endif
-#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_3_42
-# define IDE_AVAILABLE_IN_3_42 IDE_UNAVAILABLE(3, 42)
+#if IDE_VERSION_MAX_ALLOWED < IDE_VERSION_41
+# define IDE_AVAILABLE_IN_41 IDE_UNAVAILABLE(41, 0)
#else
-# define IDE_AVAILABLE_IN_3_42 _IDE_EXTERN
+# define IDE_AVAILABLE_IN_41 _IDE_EXTERN
#endif
diff --git a/src/libide/gui/ide-application.h b/src/libide/gui/ide-application.h
index 2f5306ad2..446f9aa7d 100644
--- a/src/libide/gui/ide-application.h
+++ b/src/libide/gui/ide-application.h
@@ -92,7 +92,7 @@ IdeWorkbench *ide_application_find_workbench_for_file (IdeApplication
IDE_AVAILABLE_IN_3_34
gpointer ide_application_find_addin_by_module_name (IdeApplication *self,
const gchar *module_name);
-IDE_AVAILABLE_IN_3_42
+IDE_AVAILABLE_IN_41
char *ide_application_create_cancel_action (IdeApplication *self,
GCancellable *cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]