summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrezso <[email protected]>2021-10-19 07:47:44 +0200
committerraveit65 <[email protected]>2021-10-20 18:18:42 +0200
commitecf9baac8832edde5e950a70621d2b6c694f9536 (patch)
tree53906fbaed5bf4cc3ca25003a2bea28726ef118e
parent9bfeee8546b8490c5f56409783d1d6aa712f0749 (diff)
downloadmate-desktop-ecf9baac8832edde5e950a70621d2b6c694f9536.tar.bz2
mate-desktop-ecf9baac8832edde5e950a70621d2b6c694f9536.tar.xz
Fix versions
mate_minor_version and mate_micro_version always 1. In addition, mate_minor / mate_minor_version and mate_micro / mate_micro_version always same.
-rw-r--r--meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/meson.build b/meson.build
index 229607f..a97fde2 100644
--- a/meson.build
+++ b/meson.build
@@ -8,11 +8,11 @@ project(
matedt_version = meson.project_version()
version_array = matedt_version.split('.')
mate_major_version = version_array[0].to_int()
-mate_minor_version = version_array[0].to_int()
-mate_micro_version = version_array[0].to_int()
-mate_platform = 1
-mate_minor = 24
-mate_micro = 0
+mate_minor_version = version_array[1].to_int()
+mate_micro_version = version_array[2].to_int()
+mate_platform = mate_major_version
+mate_minor = mate_minor_version
+mate_micro = mate_micro_version
matedt_api_version = '2.0'
matedt_api_name = '@0@-@1@'.format(meson.project_name(), matedt_api_version)