Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mapview.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2014-04-11 01:40:06 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-05-14 21:21:40 (GMT)
commitdd749da6fdc05374ee656762f6c34d2c52ca6779 (patch)
treea49013aacb60e79f2298e4f42f2ed31ce6de6133 /mapview.py
parent1394eb71f8e677990ca26d3be4e1fb1af708f950 (diff)
More import fixes
Diffstat (limited to 'mapview.py')
-rw-r--r--mapview.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mapview.py b/mapview.py
index 06ce54c..1966f03 100644
--- a/mapview.py
+++ b/mapview.py
@@ -6,7 +6,6 @@
# The class TopMapView draw a map from the top
from gi.repository import Gtk
-import cairo
from game_map import GameMap
# view_data = width, height, show_position
@@ -132,7 +131,7 @@ class TopMapView(Gtk.DrawingArea):
self.queue_draw()
def expose(self, widget, event):
- rect = self.get_allocation()
+ #rect = self.get_allocation()
ctx = widget.window.cairo_create()
ctx.save()
# set a clip region for the expose event