[gtranslator] Do not cast as int the minor version number
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Do not cast as int the minor version number
- Date: Wed, 8 Dec 2021 09:31:44 +0000 (UTC)
commit 955bdab8e1cc0a65b6d1ec1e3aceec95ca7a2c72
Author: Daniel GarcĂa Moreno <dani danigm net>
Date: Wed Dec 8 10:31:07 2021 +0100
Do not cast as int the minor version number
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 7d726733..2e11f891 100644
--- a/meson.build
+++ b/meson.build
@@ -12,7 +12,7 @@ project(
gtr_version = meson.project_version()
version_array = gtr_version.split('.')
gtr_major_version = version_array[0].to_int()
-gtr_minor_version = version_array[1].to_int()
+gtr_minor_version = version_array[1]
#################
# Default paths #
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]