summaryrefslogtreecommitdiff
path: root/lib/tktext.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-23 09:48:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-23 09:48:01 +0000
commit530491c72fe537787ad3b0324aa6d6a61c87f0d3 (patch)
treec4976fb216ff9170250234c9617f10f1acc4dfbe /lib/tktext.rb
parent3d699ae9ffc32665e8f9117c4149e2ae03123bdf (diff)
thread_free
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tktext.rb')
-rw-r--r--lib/tktext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tktext.rb b/lib/tktext.rb
index 47e11f2c85..ccd70a20a7 100644
--- a/lib/tktext.rb
+++ b/lib/tktext.rb
@@ -47,7 +47,7 @@ class TkText<TkTextWin
end
def destroy
- for t in @tags
+ @tags.each_value do |t|
t.destroy
end
super