diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2014-04-11 00:58:35 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-05-14 21:21:40 (GMT) |
commit | 1394eb71f8e677990ca26d3be4e1fb1af708f950 (patch) | |
tree | 6d4740b8ad9ceabc090d45c52f9342c4cd3aa966 /game.py | |
parent | 3b2c6fa2d075bd77f22202fdacd480b6dcd26f9b (diff) |
Port to Gtk3: Initial run of py-giconvert.sh and sugar-convert.sh
Diffstat (limited to 'game.py')
-rwxr-xr-x | game.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ import math import simplejson as json import pygame -import gtk +from gi.repository import Gtk DATA_DIR = 'images' STROKE_COLOR = 0, 0, 0 # black @@ -368,8 +368,8 @@ class Game(object): self._clock.tick(FRAMES_PER_SECOND) # pump gtk messages - while gtk.events_pending(): - gtk.main_iteration() + while Gtk.events_pending(): + Gtk.main_iteration() # pump pygame messages for event in pygame.event.get(): |