Merge pull request #342 from quozl/2016-314-require-versions

Further gi.require_version calls
This commit is contained in:
Ignacio Rodríguez 2016-11-14 23:51:02 -03:00 committed by GitHub
commit 750a4406b1
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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