summaryrefslogtreecommitdiff
path: root/lib/tkcanvas.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tkcanvas.rb')
-rw-r--r--lib/tkcanvas.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tkcanvas.rb b/lib/tkcanvas.rb
index 46acd8c9d7..26f0ac0c7b 100644
--- a/lib/tkcanvas.rb
+++ b/lib/tkcanvas.rb
@@ -93,7 +93,7 @@ class TkCanvas<TkWindow
tk_send 'type', tagid(tag)
end
def postscript(keys=None)
- tk_call "pack", *hash_kv(keys)
+ tk_send "postscript", *hash_kv(keys)
end
def raise(tag, above=None)
tk_send 'raise', tagid(tag), above