From dd6911a8c878439165501450029b55b87323dd52 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 6 Aug 2011 15:44:06 +0000 Subject: * ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver before calling epath. patched by flori https://github.com/flori/ruby/commit/aa9474d32e5f2c57f8b0e2e0c528a03f06a4d433 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk/wm.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/tk/lib') diff --git a/ext/tk/lib/tk/wm.rb b/ext/tk/lib/tk/wm.rb index b1a2ed886a..fcd5a2cbd2 100644 --- a/ext/tk/lib/tk/wm.rb +++ b/ext/tk/lib/tk/wm.rb @@ -83,11 +83,11 @@ module Tk def Wm.command(win, value=nil) if value - tk_call('wm', 'command', epath, value) + tk_call('wm', 'command', win.epath, value) win else - #procedure(tk_call('wm', 'command', epath)) - tk_call('wm', 'command', epath) + #procedure(tk_call('wm', 'command', win.epath)) + tk_call('wm', 'command', win.epath) end end def wm_command(value=nil) -- cgit v1.2.3