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:
parent
d4f37501a0
commit
c93f2dd433
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user