Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-07-26 13:44:25 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-08-10 13:49:30 (GMT)
commit8a2fb245a6d1003616127a14fb9fdc91bef480f3 (patch)
tree870efba6fde52c454e396a3a56a303062c36c3bf /Area.py
parent234a272540e55443326dd87e5071e3c19bd3bbe9 (diff)
Remove unused code calling the pixmap
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Area.py b/Area.py
index 19f6146..65fe45d 100644
--- a/Area.py
+++ b/Area.py
@@ -1412,19 +1412,9 @@ class Area(gtk.DrawingArea):
width, height = self.window.get_size()
if self.tool['name'] == 'marquee-rectangular':
self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.FLEUR))
- self.pixmap_sel = gtk.gdk.Pixmap(self.window, width, height, -1)
- self.pixmap_sel.draw_drawable(self.gc, self.pixmap, 0, 0, 0, 0,
- width, height)
- self.pixmap_temp.draw_drawable(self.gc, self.pixmap, 0, 0, 0, 0,
- width, height)
- self.pixmap.draw_rectangle(self.get_style().white_gc, True, 0, 0,
- width, height)
self.orig_x = 0
self.orig_y = 0
-
self.set_selection_bounds(0, 0, width - 1, height - 1)
-# self.pixmap_temp.draw_rectangle(self.gc_selection, False,
-# 0, 0, width - 1, height - 1)
self.emit('select')
widget.queue_draw()
elif event.keyval == gtk.keysyms.d and gtk.gdk.CONTROL_MASK: