[gedit-plugins] build: remove dead code



commit f8f63903a346825e01ea1541f0d1803a1318e22b
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Nov 11 15:51:22 2019 +0100

    build: remove dead code

 meson.build | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/meson.build b/meson.build
index ceee860..886d5c4 100644
--- a/meson.build
+++ b/meson.build
@@ -9,12 +9,6 @@ i18n = import('i18n')
 pkg = import('pkgconfig')
 python = import('python')
 
-# Versioning
-version_arr = meson.project_version().split('.')
-version_major = version_arr[0]
-version_minor = version_arr[1]
-version_micro = version_arr[2]
-
 api_version = '3.14'
 
 package_name = meson.project_name()
@@ -64,10 +58,6 @@ config_h.set_quoted('LIBDIR', libdir)
 config_h.set_quoted('DATADIR', datadir)
 config_h.set_quoted('VERSION', meson.project_version())
 
-config_h.set('GEDIT_MAJOR_VERSION', version_major)
-config_h.set('GEDIT_MINOR_VERSION', version_minor)
-config_h.set('GEDIT_MICRO_VERSION', version_micro)
-
 configure_file(
   output: 'config.h',
   configuration: config_h


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