Require version of GtkSpell

issue7168
This commit is contained in:
Cédric Krier committed 2018-03-15 22:48:08 +01:00
1 parent 8c9913070a
commit ceba279f7e
1 file changed
+5
+5
View File
@@ -14,6 +14,7 @@ except ImportError:
sys.modules['cdecimal'] = decimal
import os
import gi
import pygtkcompat
pygtkcompat.enable()
@@ -22,6 +23,10 @@ try:
pygtkcompat.enable_goocanvas()
except ValueError:
pass
try:
gi.require_version('GtkSpell', '3.0')
except ValueError:
pass
from gi.repository import GdkPixbuf
_unset = object()