diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2014-04-11 01:40:06 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-05-14 21:21:40 (GMT) |
commit | dd749da6fdc05374ee656762f6c34d2c52ca6779 (patch) | |
tree | a49013aacb60e79f2298e4f42f2ed31ce6de6133 /mapview.py | |
parent | 1394eb71f8e677990ca26d3be4e1fb1af708f950 (diff) |
More import fixes
Diffstat (limited to 'mapview.py')
-rw-r--r-- | mapview.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |