diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-02 06:02:17 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-02 06:02:17 +0000 |
| commit | 1607f1d9fe04214c8457bf0287679691ccd6bf8f (patch) | |
| tree | 5e0a40d402ee6e82cefc7a5e564f306569b645a0 /ext/tk/lib/tk.rb | |
| parent | 24db4c7f3dc2984245946fcd8ff6beab4b7d23dc (diff) | |
| download | ruby-1607f1d9fe04214c8457bf0287679691ccd6bf8f.tar.gz ruby-1607f1d9fe04214c8457bf0287679691ccd6bf8f.tar.xz ruby-1607f1d9fe04214c8457bf0287679691ccd6bf8f.zip | |
* commit miss; and tcltklib fix too.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
| -rw-r--r-- | ext/tk/lib/tk.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 736a12fd2..9a15f0998 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -264,7 +264,7 @@ module TkComm end def uninstall_cmd(id) id = $1 if /rb_out (c\d+)/ =~ id - Tk_CMDTBL[id] = nil + Tk_CMDTBL.delete(id) end private :install_cmd, :uninstall_cmd @@ -282,7 +282,7 @@ module TkComm end def uninstall_win() - Tk_WINDOWS[@path] = nil + Tk_WINDOWS.delete(@path) end class Event @@ -2188,7 +2188,7 @@ module TkOption METHOD_TBL = {} ADD_METHOD = #{add} SAFE_MODE = #{safe} - %w(#{func_str}).each{|f| METHOD_TBL[f.intern] = nil } + %w(#{func_str}).each{|f| METHOD_TBL.delete(f.intern) } end EOD |
