diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 15:45:58 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 15:45:58 (GMT) |
commit | ea5c2e3917a7c546cce399a1acbb3b104205e0c3 (patch) | |
tree | a7e8e6ba7713f011cbf66b218c3b2ce3594ebd2c /Desenho.py | |
parent | 59e30e2d8db68b283bdf8b4c7e6a73d9ad33e946 (diff) |
Pyflakes fixes
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Desenho.py')
-rw-r--r-- | Desenho.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -62,7 +62,6 @@ Walter Bender (walter@laptop.org) """ from gi.repository import Gdk -from gi.repository import GObject from gi.repository import PangoCairo import logging import math @@ -640,7 +639,7 @@ class Desenho: text = buf.get_text(start, end, True) textview = widget.activity.textview - tv_layout = textview.create_pango_layout(text) + #tv_layout = textview.create_pango_layout(text) ctx = widget.drawing_ctx @@ -704,7 +703,6 @@ class Desenho: widget.clear_selection_background() widget.pending_clean_selection_background = False - selection_surface = widget.get_selection() widget.oldx = coords[0] widget.oldy = coords[1] |