check the Gtk bindings version at start-up

This commit is contained in:
Daniel Pavel 2013-07-20 06:22:15 +02:00
parent b6bc35ed3e
commit 3d4570cd1f
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ from solaar.i18n import _
#
#
assert Gtk.get_major_version() > 2, 'Solaar requires Gtk 3 python bindings'
GLib.threads_init()
def _init_application():