[gedit-plugins] gpdefs.py.in: remove dead code



commit c35e717ca3b2acffe4264e707b08704ede80c4ac
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Nov 11 16:48:18 2019 +0100

    gpdefs.py.in: remove dead code

 plugins/gpdefs.py.in | 4 ----
 plugins/meson.build  | 5 -----
 2 files changed, 9 deletions(-)
---
diff --git a/plugins/gpdefs.py.in b/plugins/gpdefs.py.in
index 638f8a2..4a29c20 100644
--- a/plugins/gpdefs.py.in
+++ b/plugins/gpdefs.py.in
@@ -1,7 +1,3 @@
 # -*- coding: utf-8 -*-
 
-VERSION = "@VERSION@"
-PACKAGE = "@PACKAGE@"
-PACKAGE_STRING = "@PACKAGE_STRING@"
 GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@"
-GP_LOCALEDIR = "@prefix@/share/locale"
diff --git a/plugins/meson.build b/plugins/meson.build
index 3d4df4c..547e141 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -12,12 +12,7 @@ plugin_in = configuration_data()
 plugin_in.set('VERSION', meson.project_version())
 
 gpdefs_py = configuration_data()
-gpdefs_py.set('PACKAGE', meson.project_name())
-gpdefs_py.set('PACKAGE_STRING', package_string)
 gpdefs_py.set('GETTEXT_PACKAGE', meson.project_name())
-gpdefs_py.set('VERSION', meson.project_version())
-
-gpdefs_py.set('prefix', prefix)
 
 configure_file(
   input: 'gpdefs.py.in',


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