Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/test/TestGame.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestGame.py')
-rwxr-xr-xtest/TestGame.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/TestGame.py b/test/TestGame.py
index 590b921..848e220 100755
--- a/test/TestGame.py
+++ b/test/TestGame.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
import pygame
-import gtk
+from gi.repository import Gtk
class TestGame:
@@ -36,8 +36,8 @@ class TestGame:
while self.running:
# 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():