Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-10-29 15:16:27 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-10-29 15:16:27 (GMT)
commite154ae8fa0df49ee30178551e102d4d507dacb92 (patch)
tree26624305ef33f14656a97fb001412d37953d5a5d /game.py
parent606160a2ff1971667cc20aa63b383883563108ac (diff)
minor fixes to gtk3 port
Diffstat (limited to 'game.py')
-rw-r--r--game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/game.py b/game.py
index e9ddb29..aad44d1 100644
--- a/game.py
+++ b/game.py
@@ -411,7 +411,7 @@ class Game():
for i in range(6):
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, nw, nh)
context = cairo.Context(surface)
- Gdk.cairo_set_source_pixbuf(context, pixbuf, 0, 0)
+ Gdk.cairo_set_source_pixbuf(context, image, 0, 0)
context.translate(nw / 2., nh / 2.)
context.rotate((30 + i * 60) * pi / 180.)
context.translate(-nw / 2., -nh / 2.)