mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bdfe1c7f8e
commit
924e2fcefa
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jul 18 07:56:00 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown
|
||||
wiget path.
|
||||
|
||||
Sat Jul 18 07:06:31 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
|
||||
|
|
|
@ -119,7 +119,7 @@ module TkComm
|
|||
classname_def = ''
|
||||
else # ruby_class == nil
|
||||
if Tk.const_defined?(tk_class)
|
||||
mod.const_get(tk_class) # auto_load
|
||||
Tk.const_get(tk_class) # auto_load
|
||||
ruby_class = WidgetClassNames[tk_class]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue