Commit b03d67b1 authored by Philipp Hörist's avatar Philipp Hörist

HistoryManager: Require GTK 3.0

parent 92e00bfd
......@@ -32,6 +32,14 @@
import sqlite3
from enum import IntEnum, unique
import gi
gi.require_versions({'Gtk': '3.0'})
except ValueError as error:
sys.exit('Missing dependency: %s' % error)
# pylint: disable=C0413
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GLib
......@@ -80,7 +88,6 @@ def is_standalone():
# pylint: disable=C0413
from gajim.common import helpers
from gajim.gtk.dialogs import ErrorDialog
from gajim.gtk.dialogs import NewConfirmationDialog
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment