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 | |
parent | 1b8e472727a4dfd22a4faf4f63e84dd371910a55 (diff) | |
download | ruby-dd6911a8c878439165501450029b55b87323dd52.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/tk/lib/tk/wm.rb | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Sun Aug 7 00:42:55 2011 NARUSE, Yui <naruse@ruby-lang.org> + + * 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 + Sat Aug 6 07:06:34 2011 Eric Hodel <drbrain@segment7.net> * marshal.c (w_object): Fix exception message when _dump_data is not 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) |