1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver

before calling epath. patched by flori
  aa9474d32e

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-08-06 15:44:06 +00:00
parent 1b8e472727
commit dd6911a8c8
2 changed files with 9 additions and 3 deletions

View file

@ -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

View file

@ -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)