Further gi.require_version calls
Activity logs have continued to report GObject Introspection version warnings.
This commit is contained in:
parent
3b3c3310a9
commit
ee93ad3bef
@ -64,9 +64,14 @@ import StringIO
|
|||||||
import cairo
|
import cairo
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from gi.repository import Gtk
|
import gi
|
||||||
from gi.repository import Gdk
|
gi.require_version('Gtk', '3.0')
|
||||||
|
gi.require_version('Gdk', '3.0')
|
||||||
|
gi.require_version('SugarExt', '1.0')
|
||||||
|
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
|
from gi.repository import Gdk
|
||||||
|
from gi.repository import Gtk
|
||||||
import dbus
|
import dbus
|
||||||
import dbus.service
|
import dbus.service
|
||||||
from dbus import PROPERTIES_IFACE
|
from dbus import PROPERTIES_IFACE
|
||||||
|
@ -26,6 +26,9 @@ STABLE.
|
|||||||
import logging
|
import logging
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
import gi
|
||||||
|
gi.require_version('SugarGestures', '1.0')
|
||||||
|
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
|
Loading…
Reference in New Issue
Block a user