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/tkcanvas.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/tkcanvas.rb')
-rw-r--r-- | ext/tk/lib/tkcanvas.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tkcanvas.rb b/ext/tk/lib/tkcanvas.rb index 18febd2f13..4a5e4b45bb 100644 --- a/ext/tk/lib/tkcanvas.rb +++ b/ext/tk/lib/tkcanvas.rb @@ -504,7 +504,7 @@ class TkcTag<TkObject def delete @c.delete @id - CTagID_TBL[@cpath][@id] = nil if CTagID_TBL[@cpath] + CTagID_TBL[@cpath].delete(@id) if CTagID_TBL[@cpath] end alias remove delete alias destroy delete @@ -688,7 +688,7 @@ class TkcItem<TkObject def delete @c.delete @id - CItemID_TBL[@path][@id] = nil if CItemID_TBL[@path] + CItemID_TBL[@path].delete(@id) if CItemID_TBL[@path] end alias remove delete alias destroy delete @@ -763,7 +763,7 @@ class TkImage<TkObject end def delete - Tk_IMGTBL[@id] = nil if @id + Tk_IMGTBL.delete(@id) if @id tk_call('image', 'delete', @path) end def height |