From 924e2fcefa36ad9f2750590e3daa184b03b9d734 Mon Sep 17 00:00:00 2001 From: nagai Date: Fri, 17 Jul 2009 22:57:10 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/tk/lib/tk.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1a4f41b2b1..eae337562e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 18 07:56:00 2009 Hidetoshi NAGAI + + * 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 * 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