Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/tauon/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,7 @@ def main() -> None:
# if d == "GNOME": #and os.environ.get("XDG_SESSION_TYPE") and os.environ.get("XDG_SESSION_TYPE") == "wayland":
# try:
# import gi.repository
# # TODO(Martin): Bump to 4.0 - https://github.com/Taiko2k/Tauon/issues/1316
# gi.require_version("Gtk", "3.0")
# gi.require_version("Gtk", "4.0")
# from gi.repository import Gtk
#
#
Expand Down
3 changes: 1 addition & 2 deletions src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52540,8 +52540,7 @@ def main(holder: Holder) -> None:
mac_maximize = ColourRGBA(254, 176, 36, 255)
mac_minimize = ColourRGBA(42, 189, 49, 255)
try:
# TODO(Martin): Bump to 4.0 - https://github.com/Taiko2k/Tauon/issues/1316
gi.require_version("Gtk", "3.0")
gi.require_version("Gtk", "4.0")
from gi.repository import Gtk

gtk_settings = Gtk.Settings().get_default()
Expand Down
Loading