diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-07-26 13:44:25 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-07-26 13:44:25 (GMT) |
commit | 7e7d8f26e4b0c0e1d237b87b715077ab116cc75f (patch) | |
tree | afa6253e48f91149e561d094d4e2d2beffcd9f9c | |
parent | 6f46b964099fe24487b1adee80fa2ed8c299f26a (diff) |
Remove unused code calling the pixmap
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-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: |