summaryrefslogtreecommitdiff
path: root/lib/tkcanvas.rb
diff options
context:
space:
mode:
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 3beb2ff1dc9..d5ddafd8510 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)