diff --git a/gramps/gui/grampsgui.py b/gramps/gui/grampsgui.py index 07175ddcf..014742b1e 100644 --- a/gramps/gui/grampsgui.py +++ b/gramps/gui/grampsgui.py @@ -48,7 +48,6 @@ _ = glocale.translation.gettext MIN_PYGOBJECT_VERSION = (3, 3, 2) PYGOBJ_ERR = False -MIN_GTK_VERSION = "3.10" try: #import gnome introspection, part of pygobject @@ -81,7 +80,7 @@ if PYGOBJ_ERR: try: gi.require_version('Pango', '1.0') gi.require_version('PangoCairo', '1.0') - gi.require_version('Gtk', MIN_GTK_VERSION) + gi.require_version('Gtk', '3.0') #It is important to import Pango before Gtk, or some things start to go #wrong in GTK3 ! from gi.repository import Pango, PangoCairo @@ -93,10 +92,6 @@ except (ImportError, ValueError): "Then install introspection data for Gdk, Gtk, Pango and " "PangoCairo\n\n" "Gramps will terminate now."))) - try: # be explicit - gi.require_version('Gtk', MIN_GTK_VERSION) - except (ImportError, ValueError): - print(_("\n(Gtk must be %s or later)" % MIN_GTK_VERSION)) sys.exit(0) try: