Added a requirement for pango and pangocairo versions

Eliminates a warning that was present when calling a report from
the command line.

Fixes #10333.
This commit is contained in:
bertcarnell 2017-12-23 08:07:03 -05:00 committed by Nick Hall
parent d4f37501a0
commit c93f2dd433

View File

@ -35,6 +35,9 @@ import logging
# GTK modules
#
#-------------------------------------------------------------------------
import gi
gi.require_version('Pango', '1.0')
gi.require_version('PangoCairo', '1.0')
from gi.repository import Pango, PangoCairo
import cairo