diff options
author | Kshitij <Kshitij@Kshitijs-MacBook-Pro.local> | 2012-12-25 14:23:06 (GMT) |
---|---|---|
committer | Kshitij <Kshitij@Kshitijs-MacBook-Pro.local> | 2012-12-25 14:23:06 (GMT) |
commit | 1315986303a98f0f93087c8c36af1886c86e4d1c (patch) | |
tree | f0de1e016e8f429ce92422ff067962b8fd9f580a /olpcgames/_gtkmain.py | |
parent | 87421d81339730f3231edd5245a53bb6658791be (diff) |
PyGI changes
Diffstat (limited to 'olpcgames/_gtkmain.py')
-rw-r--r-- | olpcgames/_gtkmain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/olpcgames/_gtkmain.py b/olpcgames/_gtkmain.py index 33a6a83..1715aef 100644 --- a/olpcgames/_gtkmain.py +++ b/olpcgames/_gtkmain.py @@ -30,7 +30,7 @@ class _TrackLoop( object ): self.count -= 1 def loop( self ): """Little thread loop that replicates the gtk mainloop""" - import gtk + from gi.repository import Gtk while self.count >= 1: log.debug( 'GTK loop restarting' ) while gtk.events_pending(): |