Specify required Pango and PangoCairo version

This commit is contained in:
Nick Hall 2015-05-21 23:01:57 +01:00
parent 56d83c1c5c
commit e5591da496

View File

@ -78,6 +78,8 @@ if PYGOBJ_ERR:
sys.exit(0)
try:
gi.require_version('Pango', '1.0')
gi.require_version('PangoCairo', '1.0')
gi.require_version('Gtk', '3.0')
#It is important to import Pango before Gtk, or some things start to go
#wrong in GTK3 !