diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 22:57:19 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 22:57:19 +0000 |
| commit | e68710727e8b2e928fa9dea969a81186ecebf346 (patch) | |
| tree | b34772eefb307bdae90e6222dc81ff7cbedf4f80 | |
| parent | 4c7e95643c8bd3ed235a3985b89672bca8d1b8f5 (diff) | |
* 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/branches/ruby_1_8@24185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tk.rb | 2 |
2 files changed, 6 insertions, 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(). diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 95c2598cfd..f97c02dfad 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -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 |
