aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r--ext/tk/lib/tk.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 720f2060d2..cae832fc0c 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -3104,6 +3104,7 @@ class TkObject<TkKernel
end
end
+=begin
def tk_trace_variable(v)
unless v.kind_of?(TkVariable)
fail(ArgumentError, "type error (#{v.class}); must be TkVariable object")
@@ -3111,9 +3112,10 @@ class TkObject<TkKernel
v
end
private :tk_trace_variable
+=end
def destroy
- tk_call 'trace', 'vdelete', @tk_vn, 'w', @var_id if @var_id
+ #tk_call 'trace', 'vdelete', @tk_vn, 'w', @var_id if @var_id
end
end