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 | ab6b4786152b663215f05841f7d131d1a7f43db7 (patch) | |
tree | 5e0a40d402ee6e82cefc7a5e564f306569b645a0 /ext/tk/lib/tkvirtevent.rb | |
parent | 8c0cbb735000465ca0e07526efb4489e4fe5e414 (diff) | |
download | ruby-ab6b4786152b663215f05841f7d131d1a7f43db7.tar.gz |
* commit miss; and tcltklib fix too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkvirtevent.rb')
-rw-r--r-- | ext/tk/lib/tkvirtevent.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tkvirtevent.rb b/ext/tk/lib/tkvirtevent.rb index d3721e362e..f5dcdc9429 100644 --- a/ext/tk/lib/tkvirtevent.rb +++ b/ext/tk/lib/tkvirtevent.rb @@ -54,11 +54,11 @@ class TkVirtualEvent<TkObject def delete(*sequences) if sequences == [] tk_call('event', 'delete', "<#{@id}>") - TkVirtualEventTBL[@id] = nil + TkVirtualEventTBL.delete(@id) else tk_call('event', 'delete', "<#{@id}>", *(sequences.collect{|seq| "<#{tk_event_sequence(seq)}>"}) ) - TkVirtualEventTBL[@id] = nil if info == [] + TkVirtualEventTBL.delete(@id) if info == [] end self end |