From 81d705b38e69017a775c04e3db05a424b2a1e9ac Mon Sep 17 00:00:00 2001 From: deltragon Date: Wed, 2 Oct 2024 19:09:47 +0200 Subject: [PATCH] remove unused import --- safeeyes/plugins/mediacontrol/plugin.py | 4 ++-- safeeyes/plugins/screensaver/plugin.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/safeeyes/plugins/mediacontrol/plugin.py b/safeeyes/plugins/mediacontrol/plugin.py index deacfb95..b5cd568a 100644 --- a/safeeyes/plugins/mediacontrol/plugin.py +++ b/safeeyes/plugins/mediacontrol/plugin.py @@ -25,8 +25,8 @@ import re import gi from safeeyes.model import TrayAction -gi.require_version('Gtk', '4.0') -from gi.repository import Gtk, Gio +gi.require_version('Gio', '2.0') +from gi.repository import Gio tray_icon_path = None diff --git a/safeeyes/plugins/screensaver/plugin.py b/safeeyes/plugins/screensaver/plugin.py index 2351f8e4..f6a20f50 100644 --- a/safeeyes/plugins/screensaver/plugin.py +++ b/safeeyes/plugins/screensaver/plugin.py @@ -26,8 +26,6 @@ from safeeyes import utility from safeeyes.model import TrayAction -gi.require_version('Gtk', '4.0') -from gi.repository import Gtk context = None lock_screen = False