Permalink
Browse files

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

  before calling epath. patched by flori
  flori@aa9474d

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 1b8e472 commit dd6911a8c878439165501450029b55b87323dd52 @nurse nurse committed Aug 6, 2011
Showing with 9 additions and 3 deletions.
  1. +6 −0 ChangeLog
  2. +3 −3 ext/tk/lib/tk/wm.rb
View
@@ -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
@@ -83,11 +83,11 @@ def colormapwindows(*args)
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)

0 comments on commit dd6911a

Please sign in to comment.