[gedit-plugins/python-cleanup] Clean up charmap



commit 1f4313c3bfabb4b0f2e419a68c4dd5f077fe2fa7
Author: Jordi Mas <jmas softcatala org>
Date:   Fri May 3 20:57:45 2019 +0200

    Clean up charmap

 plugins/charmap/charmap/__init__.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/plugins/charmap/charmap/__init__.py b/plugins/charmap/charmap/__init__.py
index 3cb2600..6668c86 100644
--- a/plugins/charmap/charmap/__init__.py
+++ b/plugins/charmap/charmap/__init__.py
@@ -17,14 +17,11 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
-import sys
-
 import gi
 gi.require_version('Gedit', '3.0')
 gi.require_version('Pango', '1.0')
-gi.require_version('Gtk', '3.0')
 gi.require_version('Gucharmap', '2.90')
-from gi.repository import GObject, Gio, Pango, Gtk, Gedit, Gucharmap
+from gi.repository import GObject, Gio, Pango, Gedit, Gucharmap
 from .panel import CharmapPanel
 from gpdefs import *
 


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