Merge pull request #342 from quozl/2016-314-require-versions
Further gi.require_version calls
This commit is contained in:
commit
750a4406b1
@ -64,9 +64,14 @@ import StringIO
|
||||
import cairo
|
||||
import json
|
||||
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Gdk
|
||||
import gi
|
||||
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 Gdk
|
||||
from gi.repository import Gtk
|
||||
import dbus
|
||||
import dbus.service
|
||||
from dbus import PROPERTIES_IFACE
|
||||
|
@ -26,6 +26,9 @@ STABLE.
|
||||
import logging
|
||||
import math
|
||||
|
||||
import gi
|
||||
gi.require_version('SugarGestures', '1.0')
|
||||
|
||||
from gi.repository import Gdk
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import GObject
|
||||
|
Loading…
Reference in New Issue
Block a user