summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-14 00:29:25 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-14 00:29:25 +0000
commitbd3923d599e69ead867029c2e83c9e8043e13524 (patch)
tree4d51a1c4196b227103e0594844fcc5ec6d17e843 /ext/tk/sample
parent279b40ac6655d4112760375067150295d37e5c24 (diff)
* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.
So, disable the feature and waiting for improvement in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/safe-tk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/safe-tk.rb b/ext/tk/sample/safe-tk.rb
index 148548efb2..2aeae235df 100644
--- a/ext/tk/sample/safe-tk.rb
+++ b/ext/tk/sample/safe-tk.rb
@@ -81,7 +81,7 @@ p ip.eval_proc(proc{
:command=>proc{
MultiTkIp._proc_on_current_safelevel(y).call(l)
}).pack(:fill=>:x, :padx=>5)
-if Object.const_defined?(:RubyVM) && ::RubyVM.class == Class
+if false && Object.const_defined?(:RubyVM) && ::RubyVM.class == Class
TkButton.new(:text=>':command=>proc{Thread.new(l, &y).value}',
:command=>proc{
Thread.new(l, &y).value