mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/multi-tk.rb: fix bug: initialize improper tables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6dea5cdb5b
commit
60976b119f
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Jun 19 00:00:17 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/multi-tk.rb: fix bug: initialize improper tables.
|
||||
|
||||
Sun Jun 18 20:28:43 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole.c (fole_methods): The return value
|
||||
|
|
|
@ -1405,7 +1405,7 @@ class MultiTkIp
|
|||
end
|
||||
|
||||
def _init_ip_env(script)
|
||||
script.call(self)
|
||||
self.eval_proc{script.call(self)}
|
||||
end
|
||||
|
||||
def _add_tk_procs(name, args, body)
|
||||
|
@ -1417,7 +1417,8 @@ class MultiTkIp
|
|||
end
|
||||
|
||||
def _init_ip_internal(init_ip_env, add_tk_procs)
|
||||
init_ip_env.each{|script| script.call(self)}
|
||||
#init_ip_env.each{|script| self.eval_proc{script.call(self)}}
|
||||
init_ip_env.each{|script| self._init_ip_env(script)}
|
||||
add_tk_procs.each{|name, args, body|
|
||||
if master?
|
||||
@interp._invoke('proc', name, args, body) if args && body
|
||||
|
|
Loading…
Add table
Reference in a new issue