diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-07-26 13:44:25 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-08-10 13:49:30 (GMT) |
commit | 8a2fb245a6d1003616127a14fb9fdc91bef480f3 (patch) | |
tree | 870efba6fde52c454e396a3a56a303062c36c3bf /Area.py | |
parent | 234a272540e55443326dd87e5071e3c19bd3bbe9 (diff) |
Remove unused code calling the pixmap
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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: |