aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/lib
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-31 04:14:50 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-31 04:14:50 +0000
commit75b202c933760176519ac1ed9f1e04e5dacb0b52 (patch)
tree8b1f540cb96d56bec584d8a1c0e70353a249bdfe /ext/tk/lib
parent02d0c9e75c54d8187e6570be13fa768e098b6e9c (diff)
downloadruby-75b202c933760176519ac1ed9f1e04e5dacb0b52.tar.gz
* ext/tk/tcltklib.c: add invalid namespace check
* ext/tk/lib/multi-tk.rb: add invalid_namespace? method * ext/tk/lib/remote-tk.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
-rw-r--r--ext/tk/lib/multi-tk.rb8
-rw-r--r--ext/tk/lib/remote-tk.rb2
-rw-r--r--ext/tk/lib/tk.rb2
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb
index ef4868fdef..cfe4887c4e 100644
--- a/ext/tk/lib/multi-tk.rb
+++ b/ext/tk/lib/multi-tk.rb
@@ -1568,8 +1568,8 @@ class << MultiTkIp
__getip.deleted?
end
- def null_namespace?
- __getip.null_namespace?
+ def invalid_namespace?
+ __getip.invalid_namespace?
end
def abort(msg = nil)
@@ -1894,8 +1894,8 @@ class MultiTkIp
@interp.deleted?
end
- def null_namespace?
- @interp.null_namespace?
+ def invalid_namespace?
+ @interp.invalid_namespace?
end
def abort(msg = nil)
diff --git a/ext/tk/lib/remote-tk.rb b/ext/tk/lib/remote-tk.rb
index a2f8a46d4e..04d86d4cdb 100644
--- a/ext/tk/lib/remote-tk.rb
+++ b/ext/tk/lib/remote-tk.rb
@@ -282,7 +282,7 @@ class RemoteTkIp
end
end
- def null_namespace?
+ def invalid_namespace?
false
end
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 7f734a0820..e7217ff975 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -3940,7 +3940,7 @@ end
#Tk.freeze
module Tk
- RELEASE_DATE = '2005-01-25'.freeze
+ RELEASE_DATE = '2005-01-28'.freeze
autoload :AUTO_PATH, 'tk/variable'
autoload :TCL_PACKAGE_PATH, 'tk/variable'