Skip to content

Commit 924e2fc

Browse files
author
nagai
committed
* 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
1 parent bdfe1c7 commit 924e2fc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sat Jul 18 07:56:00 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
2+
3+
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown
4+
wiget path.
5+
16
Sat Jul 18 07:06:31 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
27

38
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().

ext/tk/lib/tk.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _genobj_for_tkwidget(path)
119119
classname_def = ''
120120
else # ruby_class == nil
121121
if Tk.const_defined?(tk_class)
122-
mod.const_get(tk_class) # auto_load
122+
Tk.const_get(tk_class) # auto_load
123123
ruby_class = WidgetClassNames[tk_class]
124124
end
125125

0 commit comments

Comments
 (0)