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:
parent
1b8e472727
commit
dd6911a8c8
2 changed files with 9 additions and 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>
|
Sat Aug 6 07:06:34 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* marshal.c (w_object): Fix exception message when _dump_data is not
|
* marshal.c (w_object): Fix exception message when _dump_data is not
|
||||||
|
|
|
@ -83,11 +83,11 @@ module Tk
|
||||||
|
|
||||||
def Wm.command(win, value=nil)
|
def Wm.command(win, value=nil)
|
||||||
if value
|
if value
|
||||||
tk_call('wm', 'command', epath, value)
|
tk_call('wm', 'command', win.epath, value)
|
||||||
win
|
win
|
||||||
else
|
else
|
||||||
#procedure(tk_call('wm', 'command', epath))
|
#procedure(tk_call('wm', 'command', win.epath))
|
||||||
tk_call('wm', 'command', epath)
|
tk_call('wm', 'command', win.epath)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def wm_command(value=nil)
|
def wm_command(value=nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue