diff options
Diffstat (limited to 'pysamples/copy_from_heap.py')
-rw-r--r-- | pysamples/copy_from_heap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysamples/copy_from_heap.py b/pysamples/copy_from_heap.py index 1978c26..23c4dac 100644 --- a/pysamples/copy_from_heap.py +++ b/pysamples/copy_from_heap.py @@ -22,7 +22,7 @@ # palette is selected. -def myblock(lc, x): # second argument is ignored +def myblock(tw, x): # second argument is ignored ########################################################################### # @@ -33,4 +33,4 @@ def myblock(lc, x): # second argument is ignored from gtk import Clipboard from tautils import data_to_string - Clipboard().set_text(data_to_string(lc.heap)) + Clipboard().set_text(data_to_string(tw.lc.heap)) |