summaryrefslogtreecommitdiff
path: root/lib/tkcanvas.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-21 09:18:05 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-21 09:18:05 +0000
commit334b2c9f855ca8e4a36d34c6e600f5203ec017a5 (patch)
tree81a3e8889b938217aa68284686b38313241c3f9e /lib/tkcanvas.rb
parent043ec1f18d6e99b73eec029142185019f383f478 (diff)
st.c(rehash)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tkcanvas.rb')
-rw-r--r--lib/tkcanvas.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tkcanvas.rb b/lib/tkcanvas.rb
index 3beb2ff1dc..d5ddafd851 100644
--- a/lib/tkcanvas.rb
+++ b/lib/tkcanvas.rb
@@ -293,7 +293,7 @@ class TkCanvas<TkWindow
end
def itemcget(tagOrId, option)
- tk_send 'itemcget', tagid(tagOrId), "-#{option}"
+ tk_tcl2ruby tk_send 'itemcget', tagid(tagOrId), "-#{option}"
end
def itemconfigure(tagOrId, key, value=None)
@@ -772,7 +772,7 @@ class TkPhotoImage<TkImage
end
def cget(option)
- tk_send 'cget', option
+ tk_tcl2ruby tk_send 'cget', option
end
def copy(source, *opts)