Fix Python GI API version warning in Wikipedia

The Wikipedia activity imports from sugar3.graphics.icon without any
other use of GTK+, causing a version warning.
This commit is contained in:
James Cameron 2017-10-03 13:29:00 +11:00
parent 45cc6502dd
commit 04a1ff181f

View File

@ -95,6 +95,7 @@ from ConfigParser import ConfigParser
import gi
gi.require_version('Rsvg', '2.0')
gi.require_version('Gtk', '3.0')
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Gdk