Replace import removed in error

This commit is contained in:
Nick Hall 2023-07-03 15:09:14 +01:00
parent 53bfeb66ca
commit b33c94a0d2

View File

@ -574,6 +574,8 @@ def get_link_color(context):
"""
Find the link color for the current theme.
"""
from gi.repository import Gtk
col = context.get_color(Gtk.StateFlags.LINK)
return rgb_to_hex((col.red, col.green, col.blue))