diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/tk/lib/multi-tk.rb | 4 | ||||
-rw-r--r-- | ext/tk/lib/tk.rb | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Fri Jun 3 14:06:12 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/lib/multi-tk.rb: fix typo. + Thu Jun 2 23:42:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y: pragma support on ripper. [ruby-dev:26266] diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb index dcbd37703e..b5519af3c8 100644 --- a/ext/tk/lib/multi-tk.rb +++ b/ext/tk/lib/multi-tk.rb @@ -734,7 +734,7 @@ class MultiTkIp else begin pathname = @interp._invoke('winfo', 'pathname', new_keys['use']) - assco_display = @interp._invoke('winfo', 'screen', pathname) + assoc_display = @interp._invoke('winfo', 'screen', pathname) rescue assoc_display = new_keys['display'] end @@ -742,7 +742,7 @@ class MultiTkIp # match display? if assoc_display != new_keys['display'] - if optkeys.keys?(:display) || optkeys.keys?('display') + if optkeys.key?(:display) || optkeys.key?('display') fail RuntimeError, "conflicting 'display'=>#{new_keys['display']} " + "and display '#{assoc_display}' on 'use'=>#{new_keys['use']}" diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index e60b4c15f4..6a66a2eb29 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -4130,7 +4130,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2005-05-30'.freeze + RELEASE_DATE = '2005-06-03'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' |