diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-06 15:44:06 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-06 15:44:06 +0000 |
commit | dd6911a8c878439165501450029b55b87323dd52 (patch) | |
tree | f2d26188d0bcc1d71856c35c33aea4014dd41a96 /ext/tk | |
parent | 1b8e472727a4dfd22a4faf4f63e84dd371910a55 (diff) |
* 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
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/lib/tk/wm.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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) |