Skip to content
Snippets Groups Projects
Verified Commit 885b1bd5 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Import reorganisation

parent 603a1e19
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: LGPL-3.0-or-later
from gi.repository import Adw, GObject, Gtk
from gi.repository import GObject, Gtk
from countdown import countdownlabel, digitalclock, timepopover
......
......@@ -17,6 +17,10 @@ signal.signal(signal.SIGINT, signal.SIG_DFL)
if __name__ == "__main__":
import gi
gi.require_version("Adw", "1")
gi.require_version("Gdk", "4.0")
gi.require_version("Gtk", "4.0")
from gi.repository import Gio
resource = Gio.Resource.load(os.path.join(pkgdatadir, "countdown.gresource"))
......
......@@ -6,11 +6,7 @@ from __future__ import annotations
import sys
import gi
gi.require_version("Adw", "1")
gi.require_version("Gdk", "4.0")
gi.require_version("Gtk", "4.0")
from gi.repository import Adw, Gio, GLib, Gtk
from gi.repository import Adw, Gio, GLib
from countdown import aboutdialog, applicationwindow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment