Skip to content

Commit

Permalink
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wig…
Browse files Browse the repository at this point in the history
…et path.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nagai committed Jul 17, 2009
1 parent bdfe1c7 commit 924e2fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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().
Expand Down
2 changes: 1 addition & 1 deletion ext/tk/lib/tk.rb
Expand Up @@ -119,7 +119,7 @@ def _genobj_for_tkwidget(path)
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

Expand Down

0 comments on commit 924e2fc

Please sign in to comment.